<?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"
	>
<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>Here are the freewares just the ones I like</description>
	<pubDate>Fri, 05 Sep 2008 15:22:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Mel</title>
		<link>http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/#comment-12393</link>
		<dc:creator>Mel</dc:creator>
		<pubDate>Mon, 18 Aug 2008 19:15:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/#comment-12393</guid>
		<description>I was investigating further after I left the message above and found out that you can scrape the putty.log file (or whatever name you gave to your log file) to see if the "username" prompt has arrived but this implies that your session starts with logging enabled. I have read the putty configuration but could not find how to enable/disable logging from a command line start of putty other than using "-load session_name" switch, which requires you to have a session file created manually with the logging enabled. Not a big deal for a few servers but you can imagine creating 100+ session files is not very easy let alone remembering to create one everytime a new server gets added to the landscape.

In retrospect, I considered sending a keystroke to the terminal to open up the change settings menu but this time the problem is, the usual alt-space is not popping up the context menu for putty as it does with other native/close-to-native windows.

More leads for you, as you seem to be more gifted than I do in programming as well as have more time than I do.</description>
		<content:encoded><![CDATA[<p>I was investigating further after I left the message above and found out that you can scrape the putty.log file (or whatever name you gave to your log file) to see if the &#8220;username&#8221; prompt has arrived but this implies that your session starts with logging enabled. I have read the putty configuration but could not find how to enable/disable logging from a command line start of putty other than using &#8220;-load session_name&#8221; switch, which requires you to have a session file created manually with the logging enabled. Not a big deal for a few servers but you can imagine creating 100+ session files is not very easy let alone remembering to create one everytime a new server gets added to the landscape.</p>
<p>In retrospect, I considered sending a keystroke to the terminal to open up the change settings menu but this time the problem is, the usual alt-space is not popping up the context menu for putty as it does with other native/close-to-native windows.</p>
<p>More leads for you, as you seem to be more gifted than I do in programming as well as have more time than I do.</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-12392</link>
		<dc:creator>HanaDaddy</dc:creator>
		<pubDate>Mon, 18 Aug 2008 16:50:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/#comment-12392</guid>
		<description>Wow mel, 100 servers to maintain. That's a big job. I myself tried to find a way to determine the login prompt, but it has been unsuccessful up to now. Once I find how to do this properly, I will let you know. Thanks.</description>
		<content:encoded><![CDATA[<p>Wow mel, 100 servers to maintain. That&#8217;s a big job. I myself tried to find a way to determine the login prompt, but it has been unsuccessful up to now. Once I find how to do this properly, I will let you know. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mel</title>
		<link>http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/#comment-12391</link>
		<dc:creator>Mel</dc:creator>
		<pubDate>Mon, 18 Aug 2008 16:36:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/#comment-12391</guid>
		<description>It is a very useful starting point and thanks for your efforts, but I have to ask a question:

It looks like you are assuming you would receive the login prompt after a certain amount of time has passed and sending the username. Is there a way to check if you really received the prompt asking you the username and then actually send it ? In other words, can you read the putty screen and determine if the prompt has arrived ? In my particular case, some servers, due to their workload and/or network segments that they are located on, getting the prompt takes close to or sometimes exceeding 1 minute. And if I make the wait that long, I will have to wait unnecessary amount of time for logging into 80% of my machines. Thought about making two scripts but this time I have to figure out which script to use with which server, which is insane in a 100+ server environment and growing almost every week.

Thanks and keep up the good work.

Mel</description>
		<content:encoded><![CDATA[<p>It is a very useful starting point and thanks for your efforts, but I have to ask a question:</p>
<p>It looks like you are assuming you would receive the login prompt after a certain amount of time has passed and sending the username. Is there a way to check if you really received the prompt asking you the username and then actually send it ? In other words, can you read the putty screen and determine if the prompt has arrived ? In my particular case, some servers, due to their workload and/or network segments that they are located on, getting the prompt takes close to or sometimes exceeding 1 minute. And if I make the wait that long, I will have to wait unnecessary amount of time for logging into 80% of my machines. Thought about making two scripts but this time I have to figure out which script to use with which server, which is insane in a 100+ server environment and growing almost every week.</p>
<p>Thanks and keep up the good work.</p>
<p>Mel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: steve</title>
		<link>http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/#comment-12387</link>
		<dc:creator>steve</dc:creator>
		<pubDate>Sun, 10 Aug 2008 23:42:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/#comment-12387</guid>
		<description>I remember being interested in autohotkey once a long while ago, but never got around to learning it.  Then I found your site when searching for a way to autologin to putty, and finally started using autohotkey, and now I use it for tons of everyday tasks, and I can't imagine life without it.  Just wanted to say thanks. :)</description>
		<content:encoded><![CDATA[<p>I remember being interested in autohotkey once a long while ago, but never got around to learning it.  Then I found your site when searching for a way to autologin to putty, and finally started using autohotkey, and now I use it for tons of everyday tasks, and I can&#8217;t imagine life without it.  Just wanted to say thanks. <img src='http://www.neox.net/w/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sonia</title>
		<link>http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/#comment-12384</link>
		<dc:creator>Sonia</dc:creator>
		<pubDate>Sat, 09 Aug 2008 17:03:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/#comment-12384</guid>
		<description>You can do a lot more than automatic login with AutoHotkey. This free and small program is what we call an automation program.  With the help of hotkeys like F1, F2 etc., it types whatever sequence you want it to type like "nano /var/log/apache2/access.log".

Read more on my blog at http://cedeq.com/blog/automation/how-to-work-faster-with-putty</description>
		<content:encoded><![CDATA[<p>You can do a lot more than automatic login with AutoHotkey. This free and small program is what we call an automation program.  With the help of hotkeys like F1, F2 etc., it types whatever sequence you want it to type like &#8220;nano /var/log/apache2/access.log&#8221;.</p>
<p>Read more on my blog at <a href="http://cedeq.com/blog/automation/how-to-work-faster-with-putty" rel="nofollow">http://cedeq.com/blog/automation/how-to-work-faster-with-putty</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bhavin</title>
		<link>http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/#comment-12377</link>
		<dc:creator>bhavin</dc:creator>
		<pubDate>Tue, 05 Aug 2008 17:38:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/#comment-12377</guid>
		<description>Great work!!!</description>
		<content:encoded><![CDATA[<p>Great work!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nix</title>
		<link>http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/#comment-12353</link>
		<dc:creator>Nix</dc:creator>
		<pubDate>Sat, 12 Jul 2008 18:12:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/#comment-12353</guid>
		<description>This is wonderful! Great work, mate ;) Tnx for sharing!</description>
		<content:encoded><![CDATA[<p>This is wonderful! Great work, mate <img src='http://www.neox.net/w/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> Tnx for sharing!</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-12347</link>
		<dc:creator>HanaDaddy</dc:creator>
		<pubDate>Mon, 07 Jul 2008 02:05:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/#comment-12347</guid>
		<description>Jay, I really appreciate your comment. I was really happy that there is such option existed. I have tested it also worked with session profiles. So below example works perfectly.

&lt;code&gt;putty -load %profile_name% -l %userid% -pw %password%&lt;/code&gt;

But according to the &lt;a href='http://the.earth.li/~sgtatham/putty/0.53b/htmldoc/Chapter3.html#3.7' rel="nofollow"&gt;official Putty Manual&lt;/a&gt;, the &lt;code&gt;-pw&lt;/code&gt; option doesn't work with telnet.

&lt;blockquote&gt;Note that the -pw option only works when you are using the SSH protocol. Due to fundamental limitations of Telnet and Rlogin, these protocols do not support automated password authentication.
&lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<p>Jay, I really appreciate your comment. I was really happy that there is such option existed. I have tested it also worked with session profiles. So below example works perfectly.</p>
<p><code>putty -load %profile_name% -l %userid% -pw %password%</code></p>
<p>But according to the <a href='http://the.earth.li/~sgtatham/putty/0.53b/htmldoc/Chapter3.html#3.7' rel="nofollow">official Putty Manual</a>, the <code>-pw</code> option doesn&#8217;t work with telnet.</p>
<blockquote><p>Note that the -pw option only works when you are using the SSH protocol. Due to fundamental limitations of Telnet and Rlogin, these protocols do not support automated password authentication.
</p></blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/#comment-12345</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Sun, 06 Jul 2008 20:13:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/#comment-12345</guid>
		<description>putty has a option for password, I have been using that for a while because the machines which I use are formatted frequently. Since they are formatted frequently key sharing is painful. But if you want to send the password in cleartext which might be the case where you are accessing server available on your local network(not on the internet).

putty host1 -l root -pw 

same information can be found at 
http://jayrajput.blogspot.com/search/label/Putty</description>
		<content:encoded><![CDATA[<p>putty has a option for password, I have been using that for a while because the machines which I use are formatted frequently. Since they are formatted frequently key sharing is painful. But if you want to send the password in cleartext which might be the case where you are accessing server available on your local network(not on the internet).</p>
<p>putty host1 -l root -pw </p>
<p>same information can be found at<br />
<a href="http://jayrajput.blogspot.com/search/label/Putty" rel="nofollow">http://jayrajput.blogspot.com/search/label/Putty</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iman</title>
		<link>http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/#comment-12335</link>
		<dc:creator>iman</dc:creator>
		<pubDate>Thu, 26 Jun 2008 09:21:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.neox.net/w/2008/04/23/putty-auto-login-macro-using-autohotkey/#comment-12335</guid>
		<description>Thank you very much - it worked as mentioned and will definitely prove useful in my daily operations.</description>
		<content:encoded><![CDATA[<p>Thank you very much - it worked as mentioned and will definitely prove useful in my daily operations.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
