<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux and Virtualization &#187; ssl</title>
	<atom:link href="http://fclose.com/b/linux/tag/ssl/feed/" rel="self" type="application/rss+xml" />
	<link>http://fclose.com/b/linux</link>
	<description>Clear solutions, tutorials and tips on Linux and virtualization from the author&#039;s experience with clusters.</description>
	<lastBuildDate>Sat, 04 Feb 2012 04:40:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>lftp Disable SSL</title>
		<link>http://fclose.com/b/linux/691/lftp-disable-ssl/</link>
		<comments>http://fclose.com/b/linux/691/lftp-disable-ssl/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 09:31:25 +0000</pubDate>
		<dc:creator>Zhiqiang Ma</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Client config]]></category>
		<category><![CDATA[lftp]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[Tip]]></category>

		<guid isPermaLink="false">http://zhiqiangma.info/lftp-disable-ssl/</guid>
		<description><![CDATA[lftp some times stalls with message &#8220;Making data connection&#8221; when &#8220;ls&#8221; the directory after logged in the ftp site. The message may appear like this: &#60; --- 227 Entering Passive Mode (xx,xx,xx,xx,xx,xx) ---- Connecting data socket to (yy,yy,yy,yy) port zz `ls' at 0 [Making data connection...] But some client such as filezilla may works on [...]]]></description>
			<content:encoded><![CDATA[<p>lftp some times stalls with message &#8220;Making data connection&#8221; when &#8220;ls&#8221; the directory after logged in the ftp site. The message may appear like this:</p>
<pre>&lt; --- 227 Entering Passive Mode (xx,xx,xx,xx,xx,xx)
---- Connecting data socket to (yy,yy,yy,yy) port zz
`ls' at 0 [Making data connection...]
</pre>
<p>But some client such as filezilla may works on the same site.</p>
<p>Most of the the reason is that the FTP server configuration didn&#8217;t have assigned passive ports nor are they open on the firewall.</p>
<p>I find two solutions to this problem:</p>
<p>1) Disable ssl when using lftp<br />
This is the easy solution because usually we can not change the server&#8217;s configuration. We can do this by simply add one line:</p>
<pre>set ftp:ssl-allow false</pre>
<p>to ~/.lftprc.<br />
My .lftprc configuration files can be found here: <a href="http://github.com/zma/config_files">http://github.com/zma/config_files</a></p>
<p>2) Change the configuration on the server side for a pureFTP connect<br />
Force passive mode on server and open specific ports in server firewall.</p>
]]></content:encoded>
			<wfw:commentRss>http://fclose.com/b/linux/691/lftp-disable-ssl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

