<?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: SSHing into a Windows Server on Amazon&#8217;s EC2</title>
	<atom:link href="http://www.eburcat.com/2009/05/sshing-into-a-windows-server-on-amazons-ec2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.eburcat.com/2009/05/sshing-into-a-windows-server-on-amazons-ec2/</link>
	<description>Hacks, סביבה, and more...</description>
	<lastBuildDate>Fri, 16 Jul 2010 16:03:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: John Hart</title>
		<link>http://www.eburcat.com/2009/05/sshing-into-a-windows-server-on-amazons-ec2/comment-page-1/#comment-5493</link>
		<dc:creator>John Hart</dc:creator>
		<pubDate>Fri, 02 Jul 2010 01:16:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.eburcat.com/?p=274#comment-5493</guid>
		<description>That update_cygwin script does a lot of stuff, making me suspect is is brittle.  We went the AutoExNT route suggested above but found a much simpler implementation: we use AutoExNT to run ssh-host-config at startup if the service isn&#039;t already running.  AutoExNT&#039;s batch file checks the instance&#039;s user-data and, if desired, runs this bash script:

if ! cygrunsrv -Q sshd; then
  ssh-host-config -y -c ntsec -w 
  net start sshd
  fi

As a matter of hygiene we don&#039;t run this script on our AMI source instances - in other words, our AMI source image lineage never has sshd turned on.  Instead, the above script is only run on production instances that are launched from our rebundled AMIs but which are not themselves destined to be rebundled.

To circle back, that&#039;s where checking user-data comes in - to decide whether or not to run ssh-host-config.  However, I do believe the above solution works even if you&#039;re working off an AMI that itself had run ssh-host-config previously, but we don&#039;t do it as a matter of course.  YMMV.</description>
		<content:encoded><![CDATA[<p>That update_cygwin script does a lot of stuff, making me suspect is is brittle.  We went the AutoExNT route suggested above but found a much simpler implementation: we use AutoExNT to run ssh-host-config at startup if the service isn&#8217;t already running.  AutoExNT&#8217;s batch file checks the instance&#8217;s user-data and, if desired, runs this bash script:</p>
<p>if ! cygrunsrv -Q sshd; then<br />
  ssh-host-config -y -c ntsec -w<br />
  net start sshd<br />
  fi</p>
<p>As a matter of hygiene we don&#8217;t run this script on our AMI source instances &#8211; in other words, our AMI source image lineage never has sshd turned on.  Instead, the above script is only run on production instances that are launched from our rebundled AMIs but which are not themselves destined to be rebundled.</p>
<p>To circle back, that&#8217;s where checking user-data comes in &#8211; to decide whether or not to run ssh-host-config.  However, I do believe the above solution works even if you&#8217;re working off an AMI that itself had run ssh-host-config previously, but we don&#8217;t do it as a matter of course.  YMMV.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eitan Burcat</title>
		<link>http://www.eburcat.com/2009/05/sshing-into-a-windows-server-on-amazons-ec2/comment-page-1/#comment-3443</link>
		<dc:creator>Eitan Burcat</dc:creator>
		<pubDate>Tue, 26 Jan 2010 12:16:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.eburcat.com/?p=274#comment-3443</guid>
		<description>Update: we decided to abandon SSHding into machines, we had too many problems with cygwin - probably it&#039;s still not ready for production in virtualized machines.
Update 2: Instead of autoexnt we now use group policy to auto start applications on machine loading.
Update 3: Bundling might not be that problematic anymore, with EBS machines.</description>
		<content:encoded><![CDATA[<p>Update: we decided to abandon SSHding into machines, we had too many problems with cygwin &#8211; probably it&#8217;s still not ready for production in virtualized machines.<br />
Update 2: Instead of autoexnt we now use group policy to auto start applications on machine loading.<br />
Update 3: Bundling might not be that problematic anymore, with EBS machines.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shlomo</title>
		<link>http://www.eburcat.com/2009/05/sshing-into-a-windows-server-on-amazons-ec2/comment-page-1/#comment-1835</link>
		<dc:creator>Shlomo</dc:creator>
		<pubDate>Thu, 10 Sep 2009 09:07:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.eburcat.com/?p=274#comment-1835</guid>
		<description>Thanks for this writeup. Big help.

I can&#039;t believe it requires so many manual steps (click, turn off IE warning, click again, turn off another IE warning, repeat ad nauseum) to be able to make an AMI that whose sshd works!</description>
		<content:encoded><![CDATA[<p>Thanks for this writeup. Big help.</p>
<p>I can&#8217;t believe it requires so many manual steps (click, turn off IE warning, click again, turn off another IE warning, repeat ad nauseum) to be able to make an AMI that whose sshd works!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eitan Burcat</title>
		<link>http://www.eburcat.com/2009/05/sshing-into-a-windows-server-on-amazons-ec2/comment-page-1/#comment-1144</link>
		<dc:creator>Eitan Burcat</dc:creator>
		<pubDate>Fri, 10 Jul 2009 07:30:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.eburcat.com/?p=274#comment-1144</guid>
		<description>I use both of them as clients, what was challenging is to install an SSH server that could accept their connections on the EC2 machines...</description>
		<content:encoded><![CDATA[<p>I use both of them as clients, what was challenging is to install an SSH server that could accept their connections on the EC2 machines&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roman</title>
		<link>http://www.eburcat.com/2009/05/sshing-into-a-windows-server-on-amazons-ec2/comment-page-1/#comment-1142</link>
		<dc:creator>Roman</dc:creator>
		<pubDate>Wed, 08 Jul 2009 21:54:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.eburcat.com/?p=274#comment-1142</guid>
		<description>Have you looked at PuTTY and WinSCP?</description>
		<content:encoded><![CDATA[<p>Have you looked at PuTTY and WinSCP?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sergio</title>
		<link>http://www.eburcat.com/2009/05/sshing-into-a-windows-server-on-amazons-ec2/comment-page-1/#comment-1096</link>
		<dc:creator>sergio</dc:creator>
		<pubDate>Fri, 19 Jun 2009 05:27:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.eburcat.com/?p=274#comment-1096</guid>
		<description>Looks like The Resource Kit is not supported on 64bit platforms. Any alternatives to AutoExNT ?</description>
		<content:encoded><![CDATA[<p>Looks like The Resource Kit is not supported on 64bit platforms. Any alternatives to AutoExNT ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eitan Burcat</title>
		<link>http://www.eburcat.com/2009/05/sshing-into-a-windows-server-on-amazons-ec2/comment-page-1/#comment-1081</link>
		<dc:creator>Eitan Burcat</dc:creator>
		<pubDate>Fri, 12 Jun 2009 11:06:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.eburcat.com/?p=274#comment-1081</guid>
		<description>:)</description>
		<content:encoded><![CDATA[<p> <img src='http://www.eburcat.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Darnell</title>
		<link>http://www.eburcat.com/2009/05/sshing-into-a-windows-server-on-amazons-ec2/comment-page-1/#comment-1052</link>
		<dc:creator>Mike Darnell</dc:creator>
		<pubDate>Sun, 31 May 2009 09:11:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.eburcat.com/?p=274#comment-1052</guid>
		<description>I spent some time yesterday SSHing my niece. 
She&#039;s eight months old and gets cranky if she doesn&#039;t get her nap time.

Does the Green Party Meymad know you&#039;ve associated their logo with your occult geekish texts?

Cheers,
Mike</description>
		<content:encoded><![CDATA[<p>I spent some time yesterday SSHing my niece.<br />
She&#8217;s eight months old and gets cranky if she doesn&#8217;t get her nap time.</p>
<p>Does the Green Party Meymad know you&#8217;ve associated their logo with your occult geekish texts?</p>
<p>Cheers,<br />
Mike</p>
]]></content:encoded>
	</item>
</channel>
</rss>
