Hi all, When I'm trying to login to the ftp server with appropriate username and password its taking almost 10-15 seconds to authenticate making the login process slow, even when I'm uploading files its again hanging for 10-15 seconds before completing the job successfully. Its not like its happening every time, but 7 times out of 10. Any idea how can make the authentication fast?

I'm using gftp to connect to the ftp server, while connecting it hangs after showing this message:

Quote:gFTP 2.0.19, Copyright (C) 1998-2008 Brian Masney <masneyb@gftp.org>. If you have any questions, comments, or suggestions about this program, please feel free to email them to me. You can always find out the latest news about gFTP from my website at http://www.gftp.org/
gFTP comes with ABSOLUTELY NO WARRANTY; for details, see the COPYING file. This is free software, and you are welcome to redistribute it under certain conditions; for details, see the COPYING file
Looking up
Connected to
220 Welcome to blah FTP service.
USER h15
331 Please specify the password.
PASS xxxx 

But after 10-15 seconds it logs in successfully.

Quote:230 Login successful.
215 UNIX Type: L8
200 Switching to Binary mode.
257 "/var/ftp/pub/users/h15"
Loading directory listing /var/ftp/pub/users/h15 from server (LC_TIME=en_US.UTF-8)
227 Entering Passive Mode (192,168,1,95,96,165).
150 Here comes the directory listing.
226 Directory send OK.

asked 20 Apr '10, 07:18

sayan_acharjee's gravatar image

accept rate: 0%

Please accept an answer so the question/answer can be finished.

(20 Apr '11, 13:41) rfelsburg ♦

Common causes of such behavior are due to the server:

  1. trying to know who you really are through the ident protocol (rfc1413) but having a firewall or NAT blocking this traffic
  2. failing to get your DNS name (reverse DNS lookups)
  3. having a partly unavailable authentication service

answered 20 Apr '10, 07:41

jlliagre's gravatar image

accept rate: 50%

try to check the way that you login by, like see your ssh keys or something like :D


answered 22 Apr '10, 07:16

Network%20Systems%20Engineer's gravatar image

Network Syst...
accept rate: 16%

How SSH keys can be related to FTP, can you tell?

(22 Apr '10, 11:16) Web31337
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 20 Apr '10, 07:18

Seen: 3,144 times

Last updated: 20 Apr '11, 13:41

powered by OSQA