<?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: Setting up a SFTP Server on&#160;Windows</title>
	<atom:link href="http://www.digitalmediaminute.com/article/1487/setting-up-a-sftp-server-on-windows/feed" rel="self" type="application/rss+xml" />
	<link>http://www.digitalmediaminute.com/article/1487/setting-up-a-sftp-server-on-windows</link>
	<description>News that matters for Web Developers</description>
	<lastBuildDate>Sun, 21 Mar 2010 16:17:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Chris</title>
		<link>http://www.digitalmediaminute.com/article/1487/setting-up-a-sftp-server-on-windows/comment-page-3#comment-646462</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 05 Jun 2008 19:03:03 +0000</pubDate>
		<guid isPermaLink="false">#comment-646462</guid>
		<description>I installed this on Windows Server 2003.  I followed the instructions at the top but got the error (after connecting!):

Fatal: unable to initialise SFTP on server

To solve it, I had to use the domain options:

mkgroup -d &gt;&gt; ..\etc\group
mkpasswd -l -d  -u  &gt;&gt; ..\etc\passwd

and then restart the &#039;OpenSSH Server&#039; service.

Hope this helps someone..</description>
		<content:encoded><![CDATA[<p>I installed this on Windows Server 2003.  I followed the instructions at the top but got the error (after connecting!):</p>
<p>Fatal: unable to initialise SFTP on server</p>
<p>To solve it, I had to use the domain options:</p>
<p>mkgroup -d &gt;&gt; ..\etc\group<br />
mkpasswd -l -d  -u  &gt;&gt; ..\etc\passwd</p>
<p>and then restart the &#8216;OpenSSH Server&#8217; service.</p>
<p>Hope this helps someone..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mark</title>
		<link>http://www.digitalmediaminute.com/article/1487/setting-up-a-sftp-server-on-windows/comment-page-3#comment-638441</link>
		<dc:creator>mark</dc:creator>
		<pubDate>Fri, 30 May 2008 02:42:38 +0000</pubDate>
		<guid isPermaLink="false">#comment-638441</guid>
		<description>Thanks! The instructions worked OK on Windows 2003 but only when I installed openssh into directory without _SPACES_.</description>
		<content:encoded><![CDATA[<p>Thanks! The instructions worked OK on Windows 2003 but only when I installed openssh into directory without _SPACES_.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Tsai</title>
		<link>http://www.digitalmediaminute.com/article/1487/setting-up-a-sftp-server-on-windows/comment-page-3#comment-630303</link>
		<dc:creator>Eric Tsai</dc:creator>
		<pubDate>Sat, 24 May 2008 08:10:35 +0000</pubDate>
		<guid isPermaLink="false">#comment-630303</guid>
		<description>Hello guys, you may want to try this: &lt;a href=&quot;http://erictsai.spaces.live.com/blog/cns!5D64586FED470F7B!402.entry&quot; title=&quot;Run OpenSSH sshd on Windows without Cygwin&quot;&gt;Run OpenSSH sshd on Windows without Cygwin&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Hello guys, you may want to try this: <a href="http://erictsai.spaces.live.com/blog/cns!5D64586FED470F7B!402.entry" title="Run OpenSSH sshd on Windows without Cygwin">Run OpenSSH sshd on Windows without Cygwin</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://www.digitalmediaminute.com/article/1487/setting-up-a-sftp-server-on-windows/comment-page-3#comment-622968</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Mon, 19 May 2008 14:13:51 +0000</pubDate>
		<guid isPermaLink="false">#comment-622968</guid>
		<description>Thanks, this made installing Open SSH considerably easier.  I thought it would take a lot longer, but I was up in minutes thanks to your instructions.

Thanks!</description>
		<content:encoded><![CDATA[<p>Thanks, this made installing Open SSH considerably easier.  I thought it would take a lot longer, but I was up in minutes thanks to your instructions.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SteveC</title>
		<link>http://www.digitalmediaminute.com/article/1487/setting-up-a-sftp-server-on-windows/comment-page-3#comment-620246</link>
		<dc:creator>SteveC</dc:creator>
		<pubDate>Fri, 16 May 2008 16:36:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-620246</guid>
		<description>Regarding restricting a user to a directory like WuFTP does, get openssh-chroot and use a UNIX / Linux box for sftp.

The requirement that you are looking for is called &quot;change root&quot;.  WuFTP and openssh-chroot use the same scheme to tell the application to change root the user to their login directory or a parent directory that is part of the home direcotry path.
In /etc/passwd file, for the home direcotory path, an administrator simply adds /./ to the path for the home directory at the point that the user is to be change rooted to.... example: mysql:*:74:74:MySQL Server:/var/empty/./:/usr/bin/sh  Note the /./ after empty.  When a user then uses the unix pwd command after login in, they will not see /var/empty as their directory path, but / only, thus performing a cd .. will not move their path to /var, they will remain at /var/empty, but the system will not report this path to the user.  Any subdirectories under empty will be accessible, but only if the directory permissions allow.  If the users login directory is /export/home/thomas, an administrator could enter /export/home/./thomas.  When the user logs in and performs a pwd, they will get /thomas as their directory path.  Using change root (chroot) is a great way to restrict user access to the contents of a computer system.... the gotcha.  When a user is running in a change rooted environment, they cannot access other parts of the system... this means that in order for them to perform minimal functions, you must create an OS type of environment by replicating at the /./ directory level the minimum library and executable files for the user to be able to function on the system, else chances are they will not be able to log into their change rooted account.  For an sftp environment, I would also include the sftpsh shell script.  This will disallow users from using ssh or scp from logging onto the server is you trying to restrict the user to sftp only.  In the above account example, instead of /usr/bin/sh for the shell, you would change this to /usr/bin/sftpsh.</description>
		<content:encoded><![CDATA[<p>Regarding restricting a user to a directory like WuFTP does, get openssh-chroot and use a UNIX / Linux box for sftp.</p>
<p>The requirement that you are looking for is called &#8220;change root&#8221;.  WuFTP and openssh-chroot use the same scheme to tell the application to change root the user to their login directory or a parent directory that is part of the home direcotry path.<br />
In /etc/passwd file, for the home direcotory path, an administrator simply adds /./ to the path for the home directory at the point that the user is to be change rooted to&#8230;. example: mysql:*:74:74:MySQL Server:/var/empty/./:/usr/bin/sh  Note the /./ after empty.  When a user then uses the unix pwd command after login in, they will not see /var/empty as their directory path, but / only, thus performing a cd .. will not move their path to /var, they will remain at /var/empty, but the system will not report this path to the user.  Any subdirectories under empty will be accessible, but only if the directory permissions allow.  If the users login directory is /export/home/thomas, an administrator could enter /export/home/./thomas.  When the user logs in and performs a pwd, they will get /thomas as their directory path.  Using change root (chroot) is a great way to restrict user access to the contents of a computer system&#8230;. the gotcha.  When a user is running in a change rooted environment, they cannot access other parts of the system&#8230; this means that in order for them to perform minimal functions, you must create an OS type of environment by replicating at the /./ directory level the minimum library and executable files for the user to be able to function on the system, else chances are they will not be able to log into their change rooted account.  For an sftp environment, I would also include the sftpsh shell script.  This will disallow users from using ssh or scp from logging onto the server is you trying to restrict the user to sftp only.  In the above account example, instead of /usr/bin/sh for the shell, you would change this to /usr/bin/sftpsh.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ShellDude</title>
		<link>http://www.digitalmediaminute.com/article/1487/setting-up-a-sftp-server-on-windows/comment-page-3#comment-609572</link>
		<dc:creator>ShellDude</dc:creator>
		<pubDate>Thu, 08 May 2008 18:52:41 +0000</pubDate>
		<guid isPermaLink="false">#comment-609572</guid>
		<description>Steve,

Try using a shellexec tool like plink (it&#039;s part of the putty suite)</description>
		<content:encoded><![CDATA[<p>Steve,</p>
<p>Try using a shellexec tool like plink (it&#8217;s part of the putty suite)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ShellDude</title>
		<link>http://www.digitalmediaminute.com/article/1487/setting-up-a-sftp-server-on-windows/comment-page-3#comment-609571</link>
		<dc:creator>ShellDude</dc:creator>
		<pubDate>Thu, 08 May 2008 18:51:49 +0000</pubDate>
		<guid isPermaLink="false">#comment-609571</guid>
		<description>If you can read, you can successfully install Openssh with this guide.  Sickenly simple install with vast possibilities from an administration perspective.</description>
		<content:encoded><![CDATA[<p>If you can read, you can successfully install Openssh with this guide.  Sickenly simple install with vast possibilities from an administration perspective.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Rhoads</title>
		<link>http://www.digitalmediaminute.com/article/1487/setting-up-a-sftp-server-on-windows/comment-page-3#comment-508816</link>
		<dc:creator>Steve Rhoads</dc:creator>
		<pubDate>Mon, 10 Mar 2008 20:18:34 +0000</pubDate>
		<guid isPermaLink="false">#comment-508816</guid>
		<description>How do I run a transaction using a script file? I have tried the following with several variations to no avail.

sftp -b ScriptFile hostname

contents of ScriptFile:
user username_password
ls
quit</description>
		<content:encoded><![CDATA[<p>How do I run a transaction using a script file? I have tried the following with several variations to no avail.</p>
<p>sftp -b ScriptFile hostname</p>
<p>contents of ScriptFile:<br />
user username_password<br />
ls<br />
quit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.digitalmediaminute.com/article/1487/setting-up-a-sftp-server-on-windows/comment-page-3#comment-477344</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 26 Feb 2008 00:27:21 +0000</pubDate>
		<guid isPermaLink="false">#comment-477344</guid>
		<description>CopSSH was even easier to install and supports Vista... Customization options from this article carry over as well, e.g. changing the home directory in the passwd file.</description>
		<content:encoded><![CDATA[<p>CopSSH was even easier to install and supports Vista&#8230; Customization options from this article carry over as well, e.g. changing the home directory in the passwd file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://www.digitalmediaminute.com/article/1487/setting-up-a-sftp-server-on-windows/comment-page-3#comment-441036</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Thu, 07 Feb 2008 03:40:36 +0000</pubDate>
		<guid isPermaLink="false">#comment-441036</guid>
		<description>This might be an easier solution for some of you: http://www.freesshd.com/</description>
		<content:encoded><![CDATA[<p>This might be an easier solution for some of you: <a href="http://www.freesshd.com/" rel="nofollow">http://www.freesshd.com/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.digitalmediaminute.com/article/1487/setting-up-a-sftp-server-on-windows/comment-page-3#comment-440213</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Wed, 06 Feb 2008 17:13:35 +0000</pubDate>
		<guid isPermaLink="false">#comment-440213</guid>
		<description>Make sure you TURN OFF YOUR IIS FTP!</description>
		<content:encoded><![CDATA[<p>Make sure you TURN OFF YOUR IIS FTP!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Samer B.</title>
		<link>http://www.digitalmediaminute.com/article/1487/setting-up-a-sftp-server-on-windows/comment-page-3#comment-426922</link>
		<dc:creator>Samer B.</dc:creator>
		<pubDate>Wed, 30 Jan 2008 22:39:13 +0000</pubDate>
		<guid isPermaLink="false">#comment-426922</guid>
		<description>Steve &amp; Anita, it works on clusters, and no luck involved here. Using the manual above, simply note the following:

- since you can&#039;t use a domain account, create the same local account on each cluster node with the same password, and use it to create each passwd file.

Now, assuming the sftp directory is on a shared storage, for ex S:\SharedFtp, also note:

- add OpenSSHd service as a Generic Service resource in the cluster configuration in the same resource group as the shared storage disk and the virtual server IP, with proper dependancy.
- assign proper NTFS permissions to the home directory S:\SharedFtp in EACH node for the local account created on that particular node. Also you should probably deny access to all other drives and folders outside this directory, in each node, for the ftp account created.

If you require clarification, just ask.</description>
		<content:encoded><![CDATA[<p>Steve &amp; Anita, it works on clusters, and no luck involved here. Using the manual above, simply note the following:</p>
<p>- since you can&#8217;t use a domain account, create the same local account on each cluster node with the same password, and use it to create each passwd file.</p>
<p>Now, assuming the sftp directory is on a shared storage, for ex S:\SharedFtp, also note:</p>
<p>- add OpenSSHd service as a Generic Service resource in the cluster configuration in the same resource group as the shared storage disk and the virtual server IP, with proper dependancy.<br />
- assign proper NTFS permissions to the home directory S:\SharedFtp in EACH node for the local account created on that particular node. Also you should probably deny access to all other drives and folders outside this directory, in each node, for the ftp account created.</p>
<p>If you require clarification, just ask.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anita</title>
		<link>http://www.digitalmediaminute.com/article/1487/setting-up-a-sftp-server-on-windows/comment-page-3#comment-425392</link>
		<dc:creator>Anita</dc:creator>
		<pubDate>Wed, 30 Jan 2008 06:07:57 +0000</pubDate>
		<guid isPermaLink="false">#comment-425392</guid>
		<description>Anybody has luck in installing/binding SFTP in clusterd environment. I have one virtual server cluster using two machines</description>
		<content:encoded><![CDATA[<p>Anybody has luck in installing/binding SFTP in clusterd environment. I have one virtual server cluster using two machines</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan D.</title>
		<link>http://www.digitalmediaminute.com/article/1487/setting-up-a-sftp-server-on-windows/comment-page-3#comment-389742</link>
		<dc:creator>Dan D.</dc:creator>
		<pubDate>Tue, 01 Jan 2008 21:01:48 +0000</pubDate>
		<guid isPermaLink="false">#comment-389742</guid>
		<description>Thank you kindly for this wonderful step-by-step howto.  I second the earlier recommendation that you add a step which reminds users to start the service after following your instructions as it is not running by default.</description>
		<content:encoded><![CDATA[<p>Thank you kindly for this wonderful step-by-step howto.  I second the earlier recommendation that you add a step which reminds users to start the service after following your instructions as it is not running by default.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://www.digitalmediaminute.com/article/1487/setting-up-a-sftp-server-on-windows/comment-page-3#comment-377634</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Fri, 21 Dec 2007 09:15:30 +0000</pubDate>
		<guid isPermaLink="false">#comment-377634</guid>
		<description>We wan&#039;t to run a SFTP server on a windows 2003 Enterprise Edition in CLUSTER ! Does anyone know which application can be installed in a cluster environment to offer SFTP? Thanks. Steve</description>
		<content:encoded><![CDATA[<p>We wan&#8217;t to run a SFTP server on a windows 2003 Enterprise Edition in CLUSTER ! Does anyone know which application can be installed in a cluster environment to offer SFTP? Thanks. Steve</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.202 seconds -->
