Answers to: Slow ftp login/authenticationhttp://linuxexchange.org/questions/103/slow-ftp-loginauthentication<p>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?</p> <p>I'm using gftp to connect to the ftp server, while connecting it hangs after showing this message:</p> <pre><code>Quote:gFTP 2.0.19, Copyright (C) 1998-2008 Brian Masney &lt;masneyb@gftp.org&gt;. 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 192.168.1.95 Trying 192.168.1.95:21 Connected to 192.168.1.95:21 220 Welcome to blah FTP service. USER h15 331 Please specify the password. PASS xxxx </code></pre> <p>But after 10-15 seconds it logs in successfully.</p> <pre><code>Quote:230 Login successful. SYST 215 UNIX Type: L8 TYPE I 200 Switching to Binary mode. PWD 257 "/var/ftp/pub/users/h15" Loading directory listing /var/ftp/pub/users/h15 from server (LC_TIME=en_US.UTF-8) PASV 227 Entering Passive Mode (192,168,1,95,96,165). LIST -aL 150 Here comes the directory listing. 226 Directory send OK. </code></pre>enThu, 22 Apr 2010 07:16:53 -0400Answer by Network Systems Engineerhttp://linuxexchange.org/questions/103/slow-ftp-loginauthentication/112<p>try to check the way that you login by, like see your ssh keys or something like :D</p>Network Systems EngineerThu, 22 Apr 2010 07:16:53 -0400http://linuxexchange.org/questions/103/slow-ftp-loginauthentication/112Answer by jlliagrehttp://linuxexchange.org/questions/103/slow-ftp-loginauthentication/104<p>Common causes of such behavior are due to the server:</p> <ol> <li>trying to know who you really are through the ident protocol (rfc1413) but having a firewall or NAT blocking this traffic</li> <li>failing to get your DNS name (reverse DNS lookups)</li> <li>having a partly unavailable authentication service</li> </ol>jlliagreTue, 20 Apr 2010 07:41:54 -0400http://linuxexchange.org/questions/103/slow-ftp-loginauthentication/104