<?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: PuTTY Auto Login Macro using AutoHotKey</title>
	<atom:link href="http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/</link>
	<description>Introduction to the Best Freewares to fill in the missing part of the default Windows XP and Vista.</description>
	<lastBuildDate>Sun, 27 Jun 2010 10:26:42 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Sjoerd</title>
		<link>http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/comment-page-1/#comment-13533</link>
		<dc:creator>Sjoerd</dc:creator>
		<pubDate>Tue, 19 Jan 2010 12:10:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/#comment-13533</guid>
		<description>For use with obligatory special characters in your password I suggest using ControlSendRaw for that part.

Thanks!</description>
		<content:encoded><![CDATA[<p>For use with obligatory special characters in your password I suggest using ControlSendRaw for that part.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HanaDaddy</title>
		<link>http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/comment-page-1/#comment-13526</link>
		<dc:creator>HanaDaddy</dc:creator>
		<pubDate>Thu, 31 Dec 2009 18:30:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/#comment-13526</guid>
		<description>Thank you, Pete! This is the long waited solution for AUTO LOGIN for PuTTY! It works perfectly!</description>
		<content:encoded><![CDATA[<p>Thank you, Pete! This is the long waited solution for AUTO LOGIN for PuTTY! It works perfectly!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pete G</title>
		<link>http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/comment-page-1/#comment-13525</link>
		<dc:creator>Pete G</dc:creator>
		<pubDate>Thu, 31 Dec 2009 17:19:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/#comment-13525</guid>
		<description>Perhaps what you are looking for is KiTTY: http://www.9bis.net/kitty/?page=Logon%20script</description>
		<content:encoded><![CDATA[<p>Perhaps what you are looking for is KiTTY: <a href="http://www.9bis.net/kitty/?page=Logon%20script" rel="nofollow">http://www.9bis.net/kitty/?page=Logon%20script</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Grey</title>
		<link>http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/comment-page-1/#comment-13402</link>
		<dc:creator>Grey</dc:creator>
		<pubDate>Wed, 30 Sep 2009 00:03:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/#comment-13402</guid>
		<description>Closes putty, or any other process.

Process, close, putty.exe</description>
		<content:encoded><![CDATA[<p>Closes putty, or any other process.</p>
<p>Process, close, putty.exe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug Boreham</title>
		<link>http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/comment-page-1/#comment-13401</link>
		<dc:creator>Doug Boreham</dc:creator>
		<pubDate>Tue, 29 Sep 2009 17:06:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/#comment-13401</guid>
		<description>Does anyone have code written for AutoHotkey that will close Putty entirely without user input?</description>
		<content:encoded><![CDATA[<p>Does anyone have code written for AutoHotkey that will close Putty entirely without user input?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jane Taubman</title>
		<link>http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/comment-page-1/#comment-12641</link>
		<dc:creator>Jane Taubman</dc:creator>
		<pubDate>Wed, 11 Feb 2009 14:31:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/#comment-12641</guid>
		<description>Thank you so much for publishing this.  I was just about to write one when I found your version,  works a treat.</description>
		<content:encoded><![CDATA[<p>Thank you so much for publishing this.  I was just about to write one when I found your version,  works a treat.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Kabugi</title>
		<link>http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/comment-page-1/#comment-12596</link>
		<dc:creator>Michael Kabugi</dc:creator>
		<pubDate>Wed, 07 Jan 2009 15:41:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/#comment-12596</guid>
		<description>Thank you very much. Totally Genius!!</description>
		<content:encoded><![CDATA[<p>Thank you very much. Totally Genius!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Narendran Babu</title>
		<link>http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/comment-page-1/#comment-12574</link>
		<dc:creator>Narendran Babu</dc:creator>
		<pubDate>Fri, 26 Dec 2008 03:41:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/#comment-12574</guid>
		<description>Hi, 

  I really appreciate the help, it was great using it.</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>  I really appreciate the help, it was great using it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HanaDaddy</title>
		<link>http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/comment-page-1/#comment-12565</link>
		<dc:creator>HanaDaddy</dc:creator>
		<pubDate>Thu, 11 Dec 2008 13:20:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/#comment-12565</guid>
		<description>@Grey, Thanks for your insight and solution!  For SSH connection, it is easier to implement auto login. For example, you can directly run it from command prompt to connect with access information. 

putty -load %profile_name% -l %userid% -pw %password%

Also, there is a separate Freeware solution called &lt;a href=&#039;http://www.neox.net/w/2008/04/22/putty-auto-login-macro-putty-connection-manager/&#039; rel=&quot;nofollow&quot;&gt;PuTTY Connection Manager&lt;/a&gt;. It has implemented auto login function similar in a way to my AutoHotKey script (waiting few seconds before sending username and password) , but it is very nice and tabbed interface makes it easy to maintain multiple putty sessions.</description>
		<content:encoded><![CDATA[<p>@Grey, Thanks for your insight and solution!  For SSH connection, it is easier to implement auto login. For example, you can directly run it from command prompt to connect with access information. </p>
<p>putty -load %profile_name% -l %userid% -pw %password%</p>
<p>Also, there is a separate Freeware solution called <a href='http://www.neox.net/w/2008/04/22/putty-auto-login-macro-putty-connection-manager/' rel="nofollow">PuTTY Connection Manager</a>. It has implemented auto login function similar in a way to my AutoHotKey script (waiting few seconds before sending username and password) , but it is very nice and tabbed interface makes it easy to maintain multiple putty sessions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Grey</title>
		<link>http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/comment-page-1/#comment-12564</link>
		<dc:creator>Grey</dc:creator>
		<pubDate>Thu, 11 Dec 2008 08:25:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/#comment-12564</guid>
		<description>Not as elegant as your&#039;s but here&#039;s my auto login for Putty. My ssh access uses a passkey so no need to enter username or password into the shell. It also uses Pageant to retrieve and run the passkey. Putty, Pageant and the autohotkey script are all located on my usb stick in the same folder. The &#039;pageantkey&#039; that the script points to is actually a short cut to pageant which also contains the location of the passkey so it automatically loads the passkey and asks for the password, ie in the shortcuts target = &quot;U:\portablePrograms\portaputty\pageant.exe masterkey.ppk&quot; (where masterkey is the key you want pageant to load located in the same directory as pageant.)
I have used the autohotkey compiler to prevent the script being decomplied so my PW is reasonably protected. I have also saved my username in the putty configuration. This works great for my purposes of just connecting to my home network.

^#!s::
;Sets everything to run from the usb drive.
SetWorkingDir, %A_WorkingDir%

;Run the shortcut to pageant which also loads the pass key, then enter the passkey passphrase.
Run, pageantkey
WinWaitActive Pageant: Enter Passphrase
WinActivate
Sendinput MyPassPhraseHere{Enter}

;Run putty, activate it.
Run, putty.exe
WinWaitActive PuTTY Configuration
WinActivate

;This is to send key presses to putty to load the correct profile, depending on where in the profile list your conenction settings are determines the number of downs. 
Send {Tab}{Tab}{Tab}{Tab}{Down}{Down}{Down}{Enter}

;Wait for the putty session to end and then terminate pageant.
Process, WaitClose, putty.exe
Process, close, pageant.exe
return

A problem I found was that you had to set the usb key to the correct drive letter otherwise you&#039;d run into problems with the shortcut paths for the pageant passkey. This is an issue on systems where you don&#039;t have admin to change your drive letter. I found a way around this was to add a couple of short batch files to the script.
Put this line in the script straight after setting the working directory. 
Run, USBon.bat 

Create USBon.bat as so:

@echo off
subst u: %cd%  

where u is the drive letter you want to use. Place the .bat file in the same folder as putty &amp; pagenat etc
Then at the end of the script put in a USBoff.bat, also of course place this in the same folder...
Run, USBoff.bat

In usboff.bat put in:

@echo off
subst u: /D  

This relesaes the drive letter at termination of the script... As I said, not as elegant as your&#039;s but shows how versatile autohotkey can be. I love using it! Your scripts given me a couple of ideas for modification. Thanks. :)</description>
		<content:encoded><![CDATA[<p>Not as elegant as your&#8217;s but here&#8217;s my auto login for Putty. My ssh access uses a passkey so no need to enter username or password into the shell. It also uses Pageant to retrieve and run the passkey. Putty, Pageant and the autohotkey script are all located on my usb stick in the same folder. The &#8216;pageantkey&#8217; that the script points to is actually a short cut to pageant which also contains the location of the passkey so it automatically loads the passkey and asks for the password, ie in the shortcuts target = &#8220;U:\portablePrograms\portaputty\pageant.exe masterkey.ppk&#8221; (where masterkey is the key you want pageant to load located in the same directory as pageant.)<br />
I have used the autohotkey compiler to prevent the script being decomplied so my PW is reasonably protected. I have also saved my username in the putty configuration. This works great for my purposes of just connecting to my home network.</p>
<p>^#!s::<br />
;Sets everything to run from the usb drive.<br />
SetWorkingDir, %A_WorkingDir%</p>
<p>;Run the shortcut to pageant which also loads the pass key, then enter the passkey passphrase.<br />
Run, pageantkey<br />
WinWaitActive Pageant: Enter Passphrase<br />
WinActivate<br />
Sendinput MyPassPhraseHere{Enter}</p>
<p>;Run putty, activate it.<br />
Run, putty.exe<br />
WinWaitActive PuTTY Configuration<br />
WinActivate</p>
<p>;This is to send key presses to putty to load the correct profile, depending on where in the profile list your conenction settings are determines the number of downs.<br />
Send {Tab}{Tab}{Tab}{Tab}{Down}{Down}{Down}{Enter}</p>
<p>;Wait for the putty session to end and then terminate pageant.<br />
Process, WaitClose, putty.exe<br />
Process, close, pageant.exe<br />
return</p>
<p>A problem I found was that you had to set the usb key to the correct drive letter otherwise you&#8217;d run into problems with the shortcut paths for the pageant passkey. This is an issue on systems where you don&#8217;t have admin to change your drive letter. I found a way around this was to add a couple of short batch files to the script.<br />
Put this line in the script straight after setting the working directory.<br />
Run, USBon.bat </p>
<p>Create USBon.bat as so:</p>
<p>@echo off<br />
subst u: %cd%  </p>
<p>where u is the drive letter you want to use. Place the .bat file in the same folder as putty &amp; pagenat etc<br />
Then at the end of the script put in a USBoff.bat, also of course place this in the same folder&#8230;<br />
Run, USBoff.bat</p>
<p>In usboff.bat put in:</p>
<p>@echo off<br />
subst u: /D  </p>
<p>This relesaes the drive letter at termination of the script&#8230; As I said, not as elegant as your&#8217;s but shows how versatile autohotkey can be. I love using it! Your scripts given me a couple of ideas for modification. Thanks. <img src='http://www.neox.net/w/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->