Results 1 to 4 of 4

Thread: lftp question

  1. #1
    Junior Member
    Join Date
    Jul 2003
    Posts
    7

    lftp question

    Hello folks,
    I have problems using ftp (lftp) with knoppix 2003-06-06.

    Login via ssh with the same login and password works fine.

    After aktivating ftp-logging in /etc/inetd.conf:
    ...
    root@knx2:/var/log# grep ftp /etc/inetd.conf
    ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.ftpd -d
    ...
    following appears in /var/log/syslog:
    ...Jul 20 16:28:02 knx2 in.ftpd[1079]: connect from knx2
    Jul 20 16:28:02 knx2 ftpd[1079]: <--- 220
    Jul 20 16:28:02 knx2 ftpd[1079]: knx2 FTP server (Version 6.4/OpenBSD/Linux-ftpd-0.17) ready.
    Jul 20 16:28:02 knx2 ftpd[1079]: command: AUTH TLS
    Jul 20 16:28:02 knx2 ftpd[1079]: <--- 500
    Jul 20 16:28:02 knx2 ftpd[1079]: 'AUTH TLS': command not understood.
    Jul 20 16:28:02 knx2 ftpd[1079]: command: USER paccess9
    Jul 20 16:28:02 knx2 ftpd[1079]: <--- 331
    Jul 20 16:28:02 knx2 ftpd[1079]: Password required for paccess9.
    Jul 20 16:28:02 knx2 ftpd[1079]: command: PASS ???
    Jul 20 16:28:05 knx2 ftpd[1079]: <--- 530
    Jul 20 16:28:05 knx2 ftpd[1079]: Login incorrect.
    Jul 20 16:28:05 knx2 ftpd[1079]: command: PWD
    Jul 20 16:28:05 knx2 ftpd[1079]: <--- 530
    Jul 20 16:28:05 knx2 ftpd[1079]: Please login with USER and PASS.
    Jul 20 16:28:05 knx2 ftpd[1079]: command: QUIT
    Jul 20 16:28:05 knx2 ftpd[1079]: <--- 221
    Jul 20 16:28:05 knx2 ftpd[1079]: Goodbye.
    ...

    during my ftp-login-session:
    paccess9@knx2:~$ ftp knx2
    lftp knx2:~> user paccess9 0odrocw1
    lftp paccess9@knx2:~> ls
    ls: Login fehlgeschlagen: 530 Login incorrect.
    lftp paccess9@knx2:~>

    tnkx in advance for all your help!

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: lftp question

    --You should try ' ftp -u USERID SITE '.

    Quote Originally Posted by kx14386
    Hello folks,
    I have problems using ftp (lftp) with knoppix 2003-06-06.

    Login via ssh with the same login and password works fine.

    After aktivating ftp-logging in /etc/inetd.conf:
    ...
    root@knx2:/var/log# grep ftp /etc/inetd.conf
    ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.ftpd -d
    ...
    following appears in /var/log/syslog:
    ...Jul 20 16:28:02 knx2 in.ftpd[1079]: connect from knx2
    Jul 20 16:28:02 knx2 ftpd[1079]: <--- 220
    Jul 20 16:28:02 knx2 ftpd[1079]: knx2 FTP server (Version 6.4/OpenBSD/Linux-ftpd-0.17) ready.
    Jul 20 16:28:02 knx2 ftpd[1079]: command: AUTH TLS
    Jul 20 16:28:02 knx2 ftpd[1079]: <--- 500
    Jul 20 16:28:02 knx2 ftpd[1079]: 'AUTH TLS': command not understood.
    Jul 20 16:28:02 knx2 ftpd[1079]: command: USER paccess9
    Jul 20 16:28:02 knx2 ftpd[1079]: <--- 331
    Jul 20 16:28:02 knx2 ftpd[1079]: Password required for paccess9.
    Jul 20 16:28:02 knx2 ftpd[1079]: command: PASS ???
    Jul 20 16:28:05 knx2 ftpd[1079]: <--- 530
    Jul 20 16:28:05 knx2 ftpd[1079]: Login incorrect.
    Jul 20 16:28:05 knx2 ftpd[1079]: command: PWD
    Jul 20 16:28:05 knx2 ftpd[1079]: <--- 530
    Jul 20 16:28:05 knx2 ftpd[1079]: Please login with USER and PASS.
    Jul 20 16:28:05 knx2 ftpd[1079]: command: QUIT
    Jul 20 16:28:05 knx2 ftpd[1079]: <--- 221
    Jul 20 16:28:05 knx2 ftpd[1079]: Goodbye.
    ...

    during my ftp-login-session:
    paccess9@knx2:~$ ftp knx2
    lftp knx2:~> user paccess9 0odrocw1
    lftp paccess9@knx2:~> ls
    ls: Login fehlgeschlagen: 530 Login incorrect.
    lftp paccess9@knx2:~>

    tnkx in advance for all your help!

  3. #3
    Junior Member
    Join Date
    Jul 2003
    Posts
    7
    Hi Dave,
    thanks a lot for your reply.
    It's a pitty but it doesn't work.

    ftp-session:
    root@knx2:~# ftp -u paccess9 knx2
    Passwort:
    lftp paccess9@knx2:~> ls
    ls: Login fehlgeschlagen: 530 Login incorrect.
    lftp paccess9@knx2:~>

    inetd -d:
    .root@knx2:~# /usr/sbin/inetd -d
    ADD : ftp proto=tcp, wait.max=0.40, user.group=root.(null) builtin=0 server=/usr/sbin/tcpd
    someone wants ftp
    accept, ctrl 5
    631 execl /usr/sbin/tcpd
    631 reaped, status 0


    syslog:
    Jul 21 20:28:52 knx2 in.ftpd[631]: connect from knx2
    Jul 21 20:28:52 knx2 ftpd[631]: <--- 220
    Jul 21 20:28:52 knx2 ftpd[631]: knx2 FTP server (Version 6.4/OpenBSD/Linux-ftpd-0.17) ready.
    Jul 21 20:28:52 knx2 ftpd[631]: command: AUTH TLS
    Jul 21 20:28:52 knx2 ftpd[631]: <--- 500
    Jul 21 20:28:52 knx2 ftpd[631]: 'AUTH TLS': command not understood.
    Jul 21 20:28:53 knx2 ftpd[631]: command: USER paccess9
    Jul 21 20:28:53 knx2 ftpd[631]: <--- 331
    Jul 21 20:28:53 knx2 ftpd[631]: Password required for paccess9.
    Jul 21 20:28:53 knx2 ftpd[631]: command: PASS ???
    Jul 21 20:28:55 knx2 ftpd[631]: <--- 530
    Jul 21 20:28:55 knx2 ftpd[631]: Login incorrect.
    Jul 21 20:28:55 knx2 ftpd[631]: command: PWD
    Jul 21 20:28:55 knx2 ftpd[631]: <--- 530
    Jul 21 20:28:55 knx2 ftpd[631]: Please login with USER and PASS.
    Jul 21 20:28:55 knx2 ftpd[631]: command: QUIT
    Jul 21 20:28:55 knx2 ftpd[631]: <--- 221
    Jul 21 20:28:55 knx2 ftpd[631]: Goodbye.
    Jul 21 20:30:01 knx2 /USR/SBIN/CRON[633]: (root) CMD ([ -d /etc/shaper ] && /etc/init.d/shaper timecheck)

    ###############

    ssh using this account and this password is working:


    root@knx2:~# ssh paccess9@knx2
    paccess9@knx2's password:
    Warning: No xauth data; using fake authentication data for X11 forwarding.
    Welcome to Knoppix (Kernel 2.4.20-xfs)

    paccess9@knx2:~$ uname -a
    Linux knx2 2.4.20-xfs #1 SMP Mit Mär 26 15:37:36 CET 2003 i586 GNU/Linux
    paccess9@knx2:~$

    Any other Ideas, Configurationchanges, debugging/tracing or some other stuff ???

  4. #4
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041
    1. Make sure ' paccess9 ' is NOT in the file /etc/ftpusers

    2. Make sure the box you are logging in from is in /etc/hosts (on both machines) and covered in /etc/hosts.allow

    3. If /etc/hosts.deny still contains ALL,PARANOID on knx2, comment it out with a '#' at the 1st char of the line. You may have to do ' /etc/init.d/inetd restart ' afterward.

    4. Try switching to Proftpd (apt-get install proftpd) if nothing above works.

    --See if ' nmap knx2 ' turns up port 21 (ftp.)

    Quote Originally Posted by kx14386
    Hi Dave,
    thanks a lot for your reply.
    It's a pitty but it doesn't work.

    ftp-session:
    root@knx2:~# ftp -u paccess9 knx2
    Passwort:
    lftp paccess9@knx2:~> ls
    ls: Login fehlgeschlagen: 530 Login incorrect.
    lftp paccess9@knx2:~>

    inetd -d:
    .root@knx2:~# /usr/sbin/inetd -d
    ADD : ftp proto=tcp, wait.max=0.40, user.group=root.(null) builtin=0 server=/usr/sbin/tcpd
    someone wants ftp
    accept, ctrl 5
    631 execl /usr/sbin/tcpd
    631 reaped, status 0


    syslog:
    Jul 21 20:28:52 knx2 in.ftpd[631]: connect from knx2
    Jul 21 20:28:52 knx2 ftpd[631]: <--- 220
    Jul 21 20:28:52 knx2 ftpd[631]: knx2 FTP server (Version 6.4/OpenBSD/Linux-ftpd-0.17) ready.
    Jul 21 20:28:52 knx2 ftpd[631]: command: AUTH TLS
    Jul 21 20:28:52 knx2 ftpd[631]: <--- 500
    Jul 21 20:28:52 knx2 ftpd[631]: 'AUTH TLS': command not understood.
    Jul 21 20:28:53 knx2 ftpd[631]: command: USER paccess9
    Jul 21 20:28:53 knx2 ftpd[631]: <--- 331
    Jul 21 20:28:53 knx2 ftpd[631]: Password required for paccess9.
    Jul 21 20:28:53 knx2 ftpd[631]: command: PASS ???
    Jul 21 20:28:55 knx2 ftpd[631]: <--- 530
    Jul 21 20:28:55 knx2 ftpd[631]: Login incorrect.
    Jul 21 20:28:55 knx2 ftpd[631]: command: PWD
    Jul 21 20:28:55 knx2 ftpd[631]: <--- 530
    Jul 21 20:28:55 knx2 ftpd[631]: Please login with USER and PASS.
    Jul 21 20:28:55 knx2 ftpd[631]: command: QUIT
    Jul 21 20:28:55 knx2 ftpd[631]: <--- 221
    Jul 21 20:28:55 knx2 ftpd[631]: Goodbye.
    Jul 21 20:30:01 knx2 /USR/SBIN/CRON[633]: (root) CMD ([ -d /etc/shaper ] && /etc/init.d/shaper timecheck)

    ###############

    ssh using this account and this password is working:


    root@knx2:~# ssh paccess9@knx2
    paccess9@knx2's password:
    Warning: No xauth data; using fake authentication data for X11 forwarding.
    Welcome to Knoppix (Kernel 2.4.20-xfs)

    paccess9@knx2:~$ uname -a
    Linux knx2 2.4.20-xfs #1 SMP Mit Mär 26 15:37:36 CET 2003 i586 GNU/Linux
    paccess9@knx2:~$

    Any other Ideas, Configurationchanges, debugging/tracing or some other stuff ???

Similar Threads

  1. Replies: 5
    Last Post: 07-09-2005, 04:40 PM
  2. Grub settings, quick question... really my last question :p
    By mark1221 in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 11-01-2003, 10:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


(2) Seagate SAS Hard Drive Exos 7E8 3TB 7200RPM 128MB 12Gb/s 3.5 ST3000NM0035 picture

(2) Seagate SAS Hard Drive Exos 7E8 3TB 7200RPM 128MB 12Gb/s 3.5 ST3000NM0035

$49.99



Dell EMC WD-HITACHI H5H72101CLAR10T0 10TB 7.2K SAS 12Gb/s SED 3.5in A POH 0-50k picture

Dell EMC WD-HITACHI H5H72101CLAR10T0 10TB 7.2K SAS 12Gb/s SED 3.5in A POH 0-50k

$189.99



Seagate BarraCuda ST3000DM008 3TB Internal SATA 6Gb 3.5

Seagate BarraCuda ST3000DM008 3TB Internal SATA 6Gb 3.5" Hard Drive 7200RPM 64MB

$91.99



WD Ultrastar DC HC530 14TB SATA 6G 3.5

WD Ultrastar DC HC530 14TB SATA 6G 3.5" 7200RPM Enterprise HDD - WUH721414ALE604

$329.99



Toshiba 14TB MG07 MG07ACA14TEY 7.2K RPM SATA 6Gb/s 512e 3.5

Toshiba 14TB MG07 MG07ACA14TEY 7.2K RPM SATA 6Gb/s 512e 3.5" Enterprise HDD

$299.00



Seagate ST28000NM001C 28TB 256MB 7200RPM 3.5

Seagate ST28000NM001C 28TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive

$669.99



Western Digital Purple Surveillance HDD, 1TB,5400 RPM,3.5 inch (WD10PURZ) picture

Western Digital Purple Surveillance HDD, 1TB,5400 RPM,3.5 inch (WD10PURZ)

$55.00



Western Digital WD Black 4TB 3.5

Western Digital WD Black 4TB 3.5" SATA hard drive – WD4004FZWX 128MB cache

$70.00



Seagate 6TB HDD ST6000NM0034 7.2K 3.5

Seagate 6TB HDD ST6000NM0034 7.2K 3.5" SAS 12Gb/s (NOT FOR PC - FOR SERVER ONLY)

$87.00



Seagate ST2000NM0055 2TB 7200RPM SATA 6Gb/s 3.5

Seagate ST2000NM0055 2TB 7200RPM SATA 6Gb/s 3.5" HDD | Enterprise |

$69.00