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>enWed, 20 Apr 2011 13:41:09 -0400Comment by rfelsburg on sayan_acharjee's questionhttp://linuxexchange.org/questions/103/slow-ftp-loginauthentication#2390<p>Please accept an answer so the question/answer can be finished.</p>rfelsburgWed, 20 Apr 2011 13:41:09 -0400http://linuxexchange.org/questions/103/slow-ftp-loginauthentication#2390