Operating System - Linux
1820076 Members
3200 Online
109608 Solutions
New Discussion юеВ

ftp taking too long for login prompt

 
K.C. Chan
Trusted Contributor

ftp taking too long for login prompt

Gurus I am trying to ftp to oscar.cdnow.com form my rehdat 7.x box, but I am having to wait for a very long time. I am guessing from the below message that it's to long because it's trying to authenticate with kerberos failed, "ftp -vd oscar.cdnow.com
Connected to oscar.cdnow.com.
220 oscar.cdnow.com FTP server ready.
---> AUTH GSSAPI
530 Please login with USER and PASS.
---> AUTH KERBEROS_V4
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (oscar.cdnow.com:guessxxx):"

does any one have any ideas? Thanks.
Reputation of a thousand years can be determined by the conduct of an hour
3 REPLIES 3
Stuart Browne
Honored Contributor

Re: ftp taking too long for login prompt

I suppose you've already tried using:

ftp -u oscar.cdnow.com

? According to the MAN page, it disables the auto-authentication negotiation. It should speed the login up.
One long-haired git at your service...
K.C. Chan
Trusted Contributor

Re: ftp taking too long for login prompt

Stuart I've already tried that and it's the same resort. Is there a way to tell ftp to use the regular way of authenticating since the other end doesn't support kerberos_v4? Thanks.
Reputation of a thousand years can be determined by the conduct of an hour
Mark Fenton
Esteemed Contributor

Re: ftp taking too long for login prompt

[markf@redhat markf]$ ftp oscar.cdnow.com
Connected to oscar.cdnow.com.
220 oscar.cdnow.com FTP server ready.
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (oscar.cdnow.com:markf): anonymous
331 Guest login ok, send your complete e-mail address as password.
Michael, follows the screen output from my casual attempt to login, first without any
arguements and then with the -u ((note I have RH 7.2 -- I think you are using 7.1, no?))
[markf@redhat markf]$ ftp oscar.cdnow.com
Connected to oscar.cdnow.com.
220 oscar.cdnow.com FTP server ready.
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (oscar.cdnow.com:markf): anonymous
331 Guest login ok, send your complete e-mail address as password.
Password:
530 Login incorrect.
Login failed.
ftp> quit
221 Goodbye.
[markf@redhat markf]$ ftp -u oscar.cdnow.com
Connected to oscar.cdnow.com.
220 oscar.cdnow.com FTP server ready.
ftp> user
(username) anonymous
331 Guest login ok, send your complete e-mail address as password.
Password:
530 Login incorrect.
Login failed.
ftp> quit
221 Goodbye.
[markf@redhat markf]$

Note after the ftp> prompt in the second session, I had to type in "user" to send my username. During the second session my box did not attempt Kerberos authentication (verified by re-running with ftp -uvd ....)

Could you have been experiencing a transient routing problem?