<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Lock down SFTP without restricting SSH on Ubuntu 8.10 (Intrepid Ibex)</title>
	<atom:link href="http://lostentropy.com/2009/01/11/lock-down-sftp-without-restricting-ssh-on-ubuntu-810-intrepid-ibex/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostentropy.com/2009/01/11/lock-down-sftp-without-restricting-ssh-on-ubuntu-810-intrepid-ibex/</link>
	<description>Aaron B. Russell&#039;s personal blog</description>
	<lastBuildDate>Wed, 10 Mar 2010 13:41:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Corey</title>
		<link>http://lostentropy.com/2009/01/11/lock-down-sftp-without-restricting-ssh-on-ubuntu-810-intrepid-ibex/comment-page-1/#comment-12968</link>
		<dc:creator>Corey</dc:creator>
		<pubDate>Thu, 02 Jul 2009 03:16:21 +0000</pubDate>
		<guid isPermaLink="false">http://lostentropy.com/?p=2273#comment-12968</guid>
		<description>I&#039;m thinking that once you have a chance to get it all together, we could package it as an OVF and submit it to VMware as a full featured drop in SFTP.  Call it the &quot;Unadopted Secure FTP server&quot;.....

I can tell you honestly...  I was sure looking for a quick and easy solution a couple of months ago when I started investigating secure file transfer solutions.  A readily available prepackaged virtual machine would have solved all my problems.  

You could be a hero to some Geek out there...  :)</description>
		<content:encoded><![CDATA[<p>I&#8217;m thinking that once you have a chance to get it all together, we could package it as an OVF and submit it to VMware as a full featured drop in SFTP.  Call it the &#8220;Unadopted Secure FTP server&#8221;&#8230;..</p>
<p>I can tell you honestly&#8230;  I was sure looking for a quick and easy solution a couple of months ago when I started investigating secure file transfer solutions.  A readily available prepackaged virtual machine would have solved all my problems.  </p>
<p>You could be a hero to some Geek out there&#8230;  :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron B. Russell</title>
		<link>http://lostentropy.com/2009/01/11/lock-down-sftp-without-restricting-ssh-on-ubuntu-810-intrepid-ibex/comment-page-1/#comment-12963</link>
		<dc:creator>Aaron B. Russell</dc:creator>
		<pubDate>Wed, 24 Jun 2009 20:32:27 +0000</pubDate>
		<guid isPermaLink="false">http://lostentropy.com/?p=2273#comment-12963</guid>
		<description>Intriguing. In that case, yeah I&#039;ll probably get that added in. I&#039;ve gotten swamped with another project in the short term, but keep reminding me, and I&#039;ll get it done.</description>
		<content:encoded><![CDATA[<p>Intriguing. In that case, yeah I&#8217;ll probably get that added in. I&#8217;ve gotten swamped with another project in the short term, but keep reminding me, and I&#8217;ll get it done.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Corey</title>
		<link>http://lostentropy.com/2009/01/11/lock-down-sftp-without-restricting-ssh-on-ubuntu-810-intrepid-ibex/comment-page-1/#comment-12962</link>
		<dc:creator>Corey</dc:creator>
		<pubDate>Wed, 24 Jun 2009 18:32:24 +0000</pubDate>
		<guid isPermaLink="false">http://lostentropy.com/?p=2273#comment-12962</guid>
		<description>Sure, there is some logging, but it is mainly access logs.  There is a patch available that allows fine grained logging of actual file transfers.  The patch can be found at: http://sftpfilecontrol.sourceforge.net/

It was just an idea.  Your packages allow sftp to become almost as user friendly as proftpd...  Now if you can add the logging patch from that site, sftp would be completely full featured. In my opinion, this is how it should have been coded from the start.  As a secure replacement for ftp....</description>
		<content:encoded><![CDATA[<p>Sure, there is some logging, but it is mainly access logs.  There is a patch available that allows fine grained logging of actual file transfers.  The patch can be found at: <a href="http://sftpfilecontrol.sourceforge.net/" rel="nofollow">http://sftpfilecontrol.sourceforge.net/</a></p>
<p>It was just an idea.  Your packages allow sftp to become almost as user friendly as proftpd&#8230;  Now if you can add the logging patch from that site, sftp would be completely full featured. In my opinion, this is how it should have been coded from the start.  As a secure replacement for <a href="http://ftp..." rel="nofollow">http://ftp&#8230;</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron B. Russell</title>
		<link>http://lostentropy.com/2009/01/11/lock-down-sftp-without-restricting-ssh-on-ubuntu-810-intrepid-ibex/comment-page-1/#comment-12946</link>
		<dc:creator>Aaron B. Russell</dc:creator>
		<pubDate>Thu, 18 Jun 2009 16:04:30 +0000</pubDate>
		<guid isPermaLink="false">http://lostentropy.com/?p=2273#comment-12946</guid>
		<description>According to that site, it&#039;s built into the current openssh. I know that logwatch emails me a report of all sftp logins nightly (though I don&#039;t think it&#039;s quite like the logging you&#039;d get with, say, proftpd -- it&#039;s just syslog events I think).

If there&#039;s already a patch written and tested with the current OpenSSH release I&#039;d be happy to review the code and add it, though I can&#039;t commit to coding/testing it myself at the moment. :(</description>
		<content:encoded><![CDATA[<p>According to that site, it&#8217;s built into the current openssh. I know that logwatch emails me a report of all sftp logins nightly (though I don&#8217;t think it&#8217;s quite like the logging you&#8217;d get with, say, proftpd &#8212; it&#8217;s just syslog events I think).</p>
<p>If there&#8217;s already a patch written and tested with the current OpenSSH release I&#8217;d be happy to review the code and add it, though I can&#8217;t commit to coding/testing it myself at the moment. :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Corey</title>
		<link>http://lostentropy.com/2009/01/11/lock-down-sftp-without-restricting-ssh-on-ubuntu-810-intrepid-ibex/comment-page-1/#comment-12941</link>
		<dc:creator>Corey</dc:creator>
		<pubDate>Tue, 16 Jun 2009 00:09:49 +0000</pubDate>
		<guid isPermaLink="false">http://lostentropy.com/?p=2273#comment-12941</guid>
		<description>I&#039;m trying to figure out a way to get the Sftp to log activity (uploads and downloads)...  Have you ever come across a good method?

I stumbled onto this website: http://sftplogging.sourceforge.net/

It&#039;s been updated to a newer version, but from this site you will get the idea.  It seems there is a patch that must be installed prior to compiling the source.  

What are your thoughts of compiling the logging patch within your patched openssh binary?

Corey</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying to figure out a way to get the Sftp to log activity (uploads and downloads)&#8230;  Have you ever come across a good method?</p>
<p>I stumbled onto this website: <a href="http://sftplogging.sourceforge.net/" rel="nofollow">http://sftplogging.sourceforge.net/</a></p>
<p>It&#8217;s been updated to a newer version, but from this site you will get the idea.  It seems there is a patch that must be installed prior to compiling the source.  </p>
<p>What are your thoughts of compiling the logging patch within your patched openssh binary?</p>
<p>Corey</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Corey</title>
		<link>http://lostentropy.com/2009/01/11/lock-down-sftp-without-restricting-ssh-on-ubuntu-810-intrepid-ibex/comment-page-1/#comment-12940</link>
		<dc:creator>Corey</dc:creator>
		<pubDate>Mon, 15 Jun 2009 23:12:41 +0000</pubDate>
		<guid isPermaLink="false">http://lostentropy.com/?p=2273#comment-12940</guid>
		<description>Very nice...  do you ever check your gmail acct?</description>
		<content:encoded><![CDATA[<p>Very nice&#8230;  do you ever check your gmail acct?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron B. Russell</title>
		<link>http://lostentropy.com/2009/01/11/lock-down-sftp-without-restricting-ssh-on-ubuntu-810-intrepid-ibex/comment-page-1/#comment-12927</link>
		<dc:creator>Aaron B. Russell</dc:creator>
		<pubDate>Tue, 09 Jun 2009 12:51:19 +0000</pubDate>
		<guid isPermaLink="false">http://lostentropy.com/?p=2273#comment-12927</guid>
		<description>Corey: I&#039;ve not written up any documentation yet, but there are now Intrepid and Jaunty builds of this at https://launchpad.net/~aaronr/+archive/ppa -- you&#039;ll still need to install sftpsh seperately as described above, and &lt;code&gt;chmod +s /usr/lib/openssh/sftp-server&lt;/code&gt; but it&#039;s definitely a bit more Ubuntu this way... :)

I&#039;ll try and get a post with some proper documentation done soon.</description>
		<content:encoded><![CDATA[<p>Corey: I&#8217;ve not written up any documentation yet, but there are now Intrepid and Jaunty builds of this at <a href="https://launchpad.net/~aaronr/+archive/ppa" rel="nofollow">https://launchpad.net/~aaronr/+archive/ppa</a> &#8212; you&#8217;ll still need to install sftpsh seperately as described above, and <code>chmod +s /usr/lib/openssh/sftp-server</code> but it&#8217;s definitely a bit more Ubuntu this way&#8230; :)</p>
<p>I&#8217;ll try and get a post with some proper documentation done soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Corey</title>
		<link>http://lostentropy.com/2009/01/11/lock-down-sftp-without-restricting-ssh-on-ubuntu-810-intrepid-ibex/comment-page-1/#comment-12887</link>
		<dc:creator>Corey</dc:creator>
		<pubDate>Wed, 27 May 2009 22:35:52 +0000</pubDate>
		<guid isPermaLink="false">http://lostentropy.com/?p=2273#comment-12887</guid>
		<description>Ok...  I just realized that you told me to do that command in the post above....  Damn I&#039;m slow!  I didn&#039;t refresh before writing the comment....

ps...  I wish i could edit my posts....  I wouldn&#039;t feel as stupid....</description>
		<content:encoded><![CDATA[<p>Ok&#8230;  I just realized that you told me to do that command in the post above&#8230;.  Damn I&#8217;m slow!  I didn&#8217;t refresh before writing the comment&#8230;.</p>
<p>ps&#8230;  I wish i could edit my posts&#8230;.  I wouldn&#8217;t feel as stupid&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Corey</title>
		<link>http://lostentropy.com/2009/01/11/lock-down-sftp-without-restricting-ssh-on-ubuntu-810-intrepid-ibex/comment-page-1/#comment-12885</link>
		<dc:creator>Corey</dc:creator>
		<pubDate>Wed, 27 May 2009 18:29:40 +0000</pubDate>
		<guid isPermaLink="false">http://lostentropy.com/?p=2273#comment-12885</guid>
		<description>Dude... I figured it out!  You didn&#039;t set the suid for sftp-server....  Since the patch uses suid to chroot the users, you have to run the following command:

chmod +s /usr/lib/openssh/sftp-server

once you run that command, you can create the root directory for the ftp user with ./ and they will be chrooted correctly!

This should be placed after the line:

sudo echo &quot;/bin/sftpsh&quot; &gt;&gt; /etc/shells

This is awesome, i appreciate your help!!!</description>
		<content:encoded><![CDATA[<p>Dude&#8230; I figured it out!  You didn&#8217;t set the suid for sftp-server&#8230;.  Since the patch uses suid to chroot the users, you have to run the following command:</p>
<p>chmod +s /usr/lib/openssh/sftp-server</p>
<p>once you run that command, you can create the root directory for the ftp user with ./ and they will be chrooted correctly!</p>
<p>This should be placed after the line:</p>
<p>sudo echo &#8220;/bin/sftpsh&#8221; &gt;&gt; /etc/shells</p>
<p>This is awesome, i appreciate your help!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Corey</title>
		<link>http://lostentropy.com/2009/01/11/lock-down-sftp-without-restricting-ssh-on-ubuntu-810-intrepid-ibex/comment-page-1/#comment-12883</link>
		<dc:creator>Corey</dc:creator>
		<pubDate>Wed, 27 May 2009 17:42:58 +0000</pubDate>
		<guid isPermaLink="false">http://lostentropy.com/?p=2273#comment-12883</guid>
		<description>I&#039;ll be here.  I would like to see this project through.  Maybe after you figure it all out, you can build a pretty front end to it....  

There&#039;s alot of potential there...</description>
		<content:encoded><![CDATA[<p>I&#8217;ll be here.  I would like to see this project through.  Maybe after you figure it all out, you can build a pretty front end to it&#8230;.  </p>
<p>There&#8217;s alot of potential there&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
