<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ftp:  connection closed by remote host&amp;quot; error in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-closed-by-remote-host-quot-error/m-p/4165362#M83457</link>
    <description>As described in the previous link I posted, what you need to allow in the firewall is:&lt;BR /&gt;&lt;BR /&gt;FTP server's port 20 from ports &amp;gt; 1023 (Client sends ACKs to server's data port)</description>
    <pubDate>Fri, 21 Mar 2008 13:41:47 GMT</pubDate>
    <dc:creator>Ivan Ferreira</dc:creator>
    <dc:date>2008-03-21T13:41:47Z</dc:date>
    <item>
      <title>ftp:  connection closed by remote host" error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-closed-by-remote-host-quot-error/m-p/4165351#M83446</link>
      <description>After working fine for months, all of a sudden we can't "mget" files from our Red Hat ES 2.1 server running wu-ftpd without getting the error message "Connection closed by remote host" on the client side session and "FTP Session closed" in the /var/log/messages file.&lt;BR /&gt;&lt;BR /&gt;To our knowledge, nothing has changed on the firewall, LAN, etc.   We can still "mput" files without any errors, just can't retrieve files.&lt;BR /&gt;&lt;BR /&gt;We have no problem connecting to the host.  Its after we are logged in, and issue an "mget *" command, that it seems to hang for a minute, then gives the "connection closed by remote host" error.&lt;BR /&gt;&lt;BR /&gt;I can "mget" just fine when doing a test from and to the Linux box itself. &lt;BR /&gt;&lt;BR /&gt;What could be causing this?</description>
      <pubDate>Thu, 20 Mar 2008 15:40:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-closed-by-remote-host-quot-error/m-p/4165351#M83446</guid>
      <dc:creator>Debbie Fleith</dc:creator>
      <dc:date>2008-03-20T15:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: ftp:  connection closed by remote host" error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-closed-by-remote-host-quot-error/m-p/4165352#M83447</link>
      <description>&amp;gt;&amp;gt;&amp;gt; o our knowledge, nothing has changed on the firewall&lt;BR /&gt;&lt;BR /&gt;Probably something did change. Try with passive mode, before using mget or mput, type "pass", you should see "passive mode on".</description>
      <pubDate>Thu, 20 Mar 2008 15:51:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-closed-by-remote-host-quot-error/m-p/4165352#M83447</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2008-03-20T15:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: ftp:  connection closed by remote host" error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-closed-by-remote-host-quot-error/m-p/4165353#M83448</link>
      <description>Can you give me more details about why passive mode may make a difference and what would possibly cause the need to set that parameter now?</description>
      <pubDate>Thu, 20 Mar 2008 16:09:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-closed-by-remote-host-quot-error/m-p/4165353#M83448</guid>
      <dc:creator>Debbie Fleith</dc:creator>
      <dc:date>2008-03-20T16:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: ftp:  connection closed by remote host" error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-closed-by-remote-host-quot-error/m-p/4165354#M83449</link>
      <description>Very detailed explanation is here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://slacksite.com/other/ftp.html#passive" target="_blank"&gt;http://slacksite.com/other/ftp.html#passive&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;A firewall blocking access to port 20 will cause this behaviour.</description>
      <pubDate>Thu, 20 Mar 2008 16:26:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-closed-by-remote-host-quot-error/m-p/4165354#M83449</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2008-03-20T16:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: ftp:  connection closed by remote host" error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-closed-by-remote-host-quot-error/m-p/4165355#M83450</link>
      <description>Neither "pass", nor "pasv", nor "passive" are available commands for me to try with this version of wu-ftpd.    Is that a command that can be configured to be available?</description>
      <pubDate>Thu, 20 Mar 2008 17:40:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-closed-by-remote-host-quot-error/m-p/4165355#M83450</guid>
      <dc:creator>Debbie Fleith</dc:creator>
      <dc:date>2008-03-20T17:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: ftp:  connection closed by remote host" error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-closed-by-remote-host-quot-error/m-p/4165356#M83451</link>
      <description>Wu-ftpd should provide passive mode. Probably, is your ftp client what does not support passive mode. What is the client operating system? Try from the linux box itself as before and run the pass command, the linux ftp client supports passive mode.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Mar 2008 17:57:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-closed-by-remote-host-quot-error/m-p/4165356#M83451</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2008-03-20T17:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: ftp:  connection closed by remote host" error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-closed-by-remote-host-quot-error/m-p/4165357#M83452</link>
      <description>Some Linux distributions have two separate command-line FTP client programs: "ftp" for active mode and "pftp" for passive mode.&lt;BR /&gt;&lt;BR /&gt;If your distribution has the "pftp" command, try using it instead of the "ftp" command. It is used just like the regular "ftp" command, but automatically uses FTP passive mode.&lt;BR /&gt;&lt;BR /&gt;(I think this ftp/pftp implementation was created to make it easier to adapt existing FTP scripts to use passive mode: instead of changing the script logic to use the PASV command, only a simple change of the ftp client command name is needed.)&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Fri, 21 Mar 2008 08:49:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-closed-by-remote-host-quot-error/m-p/4165357#M83452</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2008-03-21T08:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: ftp:  connection closed by remote host" error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-closed-by-remote-host-quot-error/m-p/4165358#M83453</link>
      <description>Our client is a Win2003 server, which doesn't appear to have "passive" mode or "pftp".   Is there anything that can be done to allow passive mode toggling with Windows 2003 server clients?&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Mar 2008 12:53:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-closed-by-remote-host-quot-error/m-p/4165358#M83453</guid>
      <dc:creator>Debbie Fleith</dc:creator>
      <dc:date>2008-03-21T12:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: ftp:  connection closed by remote host" error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-closed-by-remote-host-quot-error/m-p/4165359#M83454</link>
      <description>You can try this ftp client:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://sourceforge.net/projects/hftp/" target="_blank"&gt;http://sourceforge.net/projects/hftp/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Or you might want to allow active ftp through your firewall.</description>
      <pubDate>Fri, 21 Mar 2008 13:00:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-closed-by-remote-host-quot-error/m-p/4165359#M83454</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2008-03-21T13:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: ftp:  connection closed by remote host" error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-closed-by-remote-host-quot-error/m-p/4165360#M83455</link>
      <description>What would need to be changed to allow active mode through the firewall?  What port or ports needs to be allowed?</description>
      <pubDate>Fri, 21 Mar 2008 13:05:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-closed-by-remote-host-quot-error/m-p/4165360#M83455</guid>
      <dc:creator>Debbie Fleith</dc:creator>
      <dc:date>2008-03-21T13:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: ftp:  connection closed by remote host" error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-closed-by-remote-host-quot-error/m-p/4165361#M83456</link>
      <description>Does wu-ftpd default to active or passive mode with the same setting each time a connection is established?   Or, could it have changed its default mode somehow.  I'm trying to figure out why this problem just came up now.  Is there a setting in a configuration file which would show me how it defaults?</description>
      <pubDate>Fri, 21 Mar 2008 13:09:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-closed-by-remote-host-quot-error/m-p/4165361#M83456</guid>
      <dc:creator>Debbie Fleith</dc:creator>
      <dc:date>2008-03-21T13:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: ftp:  connection closed by remote host" error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-closed-by-remote-host-quot-error/m-p/4165362#M83457</link>
      <description>As described in the previous link I posted, what you need to allow in the firewall is:&lt;BR /&gt;&lt;BR /&gt;FTP server's port 20 from ports &amp;gt; 1023 (Client sends ACKs to server's data port)</description>
      <pubDate>Fri, 21 Mar 2008 13:41:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-closed-by-remote-host-quot-error/m-p/4165362#M83457</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2008-03-21T13:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: ftp:  connection closed by remote host" error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-closed-by-remote-host-quot-error/m-p/4165363#M83458</link>
      <description>check if the iptables is on which could also create ftp problem .&lt;BR /&gt;&lt;BR /&gt;service iptables status</description>
      <pubDate>Sat, 22 Mar 2008 14:30:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-closed-by-remote-host-quot-error/m-p/4165363#M83458</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2008-03-22T14:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: ftp:  connection closed by remote host" error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-closed-by-remote-host-quot-error/m-p/4165364#M83459</link>
      <description>This server uses ipchains, not iptables and it has not changed in 4 years.  &lt;BR /&gt;&lt;BR /&gt;There is one rule for ftp that I can see in the ipchains file:&lt;BR /&gt;-A input -s 0/0 -d 0/0 21 -p tcp -y -j ACCEPT&lt;BR /&gt;&lt;BR /&gt;Are the firewall rules you recommend something that should be put in place in the ipchains config on this Linux server itself?  If so, can someone explicitly tell me the entry necessary to add to this file?</description>
      <pubDate>Mon, 24 Mar 2008 13:03:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-closed-by-remote-host-quot-error/m-p/4165364#M83459</guid>
      <dc:creator>Debbie Fleith</dc:creator>
      <dc:date>2008-03-24T13:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: ftp:  connection closed by remote host" error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-closed-by-remote-host-quot-error/m-p/4165365#M83460</link>
      <description>Enabling ftp logging in Linux which can give more verbose information when u look at /var/log/vsftpd.log&lt;BR /&gt;&lt;BR /&gt;Update /etc/vsftpd/vsftpd.conf with xferlog_std_format=NO from xferlog_std_format=YES&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When enabled, all FTP requests and responses are logged, providing the option xferlog_std_format is not enabled. Useful for debugging.&lt;BR /&gt;&lt;BR /&gt;Default: NO&lt;BR /&gt;&lt;BR /&gt;Add log_ftp_protocol=YES at the end of /etc/vsftpd/vsftpd.conf&lt;BR /&gt;&lt;BR /&gt; Uncomment xferlog_file=/var/log/vsftpd.log on /etc/vsftpd/vsftpd.conf&lt;BR /&gt;&lt;BR /&gt;Default log file is /var/log/xferlog&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; Restart the vsftpd service</description>
      <pubDate>Thu, 27 Mar 2008 09:39:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-closed-by-remote-host-quot-error/m-p/4165365#M83460</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2008-03-27T09:39:06Z</dc:date>
    </item>
  </channel>
</rss>

