<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Walker News &#187; Remote Access</title>
	<atom:link href="http://www.walkernews.net/tag/remote-access/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.walkernews.net</link>
	<description>A capsule of walker's experience in life...</description>
	<lastBuildDate>Sun, 29 Jan 2012 16:29:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How To Turn Off Or Disable The Citrix Beep Sound?</title>
		<link>http://www.walkernews.net/2009/07/01/how-to-turn-off-or-disable-the-citrix-beep-sound/</link>
		<comments>http://www.walkernews.net/2009/07/01/how-to-turn-off-or-disable-the-citrix-beep-sound/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 16:05:28 +0000</pubDate>
		<dc:creator>Walker</dc:creator>
				<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Remote Access]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[Vista SP2]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.walkernews.net/?p=2801</guid>
		<description><![CDATA[How could I disable the annoyed beeping tone caused by Citrix client?]]></description>
			<content:encoded><![CDATA[I am mad and frustrated by the annoying high pitch beeping tone when using application via Citrix XenApp (an application delivering system).<br />
<span id="more-2801"></span><br />
The Citrix beeping whenever I hit unnecessary keystrokes in the Vi editor or Linux command prompt through Putty remote access program!<br />
<br /><!--wgadh-->While listening to Beethoven&#8217;s Piano Concerto No.5 (I find classical best when I am seriously working on something), that flipping beep tone just too bad and makes everyone seated near to me feels uneasy :-(<br />
<br />Because I was rushing on a remote Linux machine, via Putty program delivered by Citrix XenApp Web Plugin, so I just turn off the Dell Latitude speaker that no doubt effectively solved it in no time.<br />
<br />Obviously, that fix is not good at all and too &#8220;costly&#8221;, as turning off speaker means no more Beethoven&#8217;s classical music playing too :-(.<br />
<br />So, I need a proper trick and thus briefly looking around Windows settings in the hope of fixing it myself. But, none of these works:<br />
<br />1) Turn off the &#8220;Windows Sounds&#8221; found in Vista SP2 Volume Mixer dialog box.<br />
<br />2) Set the Windows sound theme to &#8220;No Sounds&#8221; scheme<br />
<br />3) Edit the Launc.ica and set the &#8220;ClientAudio=Off&#8221;.<br />
<br />I am pissed off and went to ask Google for help. Luckily, locating the solution is quick. Indeed, the Googling is much speedy than trying various Windows settings myself.<br />
<br />Credit goes to <a href="http://forums.citrix.com/message.jspa?messageID=568356" target="_blank" rel="nofollow">Leroy Spencer</a>:<br />
<br /><img src="http://www.walkernews.net/wp-content/uploads/2009/06/Disable-Citrix-Beep.jpg" alt="The trick to turn off or disable Citrix beep tone that is annoying." title="The trick to turn off or disable Citrix beep tone that is annoying." />	<br />
<br />As you can see, the trick is fairly simple and easy to remember. For Windows Vista (or perhaps Windows 7), you need to run an elevated mode of Command Prompt window and execute this command to temporarily turn off or disable Windows beep service (looks like a kernel mode driver):<br />
<pre>
sc stop beep
</pre>
<br />If you desperately want to turn it off in a persistent mode, run this command after stopping it:<br />
<pre>
sc config beep start= disabled
</pre>
<br />Thus, to re-enable beep service to its original start up mode (in this case, SYSTEM_START), execute<br />
<pre>sc config beep start= system</pre>
<blockquote>
Please take note that you need a space between the equal sign and the option value (valid START option values are boot, system, auto, demand, disabled, delayed-auto).<br />
<br />Thanks Ross Williamson for highlighting this. For more information, type <code>sc config</code>.
</blockquote>
<br />To query the Beep driver configuration-related information, execute:<br />
<pre>
sc qc beep
</pre>
<br />To query the beep driver running status in Vista SP2, execute<br />
<pre>
sc query beep
</pre>
<br />I prefer to keep it running so I won&#8217;t miss something else in future. Having said that, I need to execute <code>sc stop beep</code> each time running Citrix XenApp Web Plugin.<br />

<ul class="related_post"><li><a href="http://www.walkernews.net/2009/06/08/how-to-create-a-custom-view-to-filter-all-lock-computer-events-in-vista-sp2/" title="How To Create A Custom View To Filter All Lock Computer Events In Vista SP2?">How To Create A Custom View To Filter All Lock Computer Events In Vista SP2?</a></li><li><a href="http://www.walkernews.net/2009/05/31/using-gpedit-to-enable-or-disable-switch-user-in-vista-sp2/" title="Using gpedit To Enable Or Disable Switch User In Vista SP2">Using gpedit To Enable Or Disable Switch User In Vista SP2</a></li><li><a href="http://www.walkernews.net/2009/05/11/how-to-use-putty-generated-rsa-key-to-login-linux-openssh-server/" title="How To Use Putty-generated RSA Key To Login Linux OpenSSH Server?">How To Use Putty-generated RSA Key To Login Linux OpenSSH Server?</a></li><li><a href="http://www.walkernews.net/2009/05/03/how-to-disable-keyboard-power-button/" title="How To Disable Keyboard Power Button?">How To Disable Keyboard Power Button?</a></li><li><a href="http://www.walkernews.net/2009/05/03/how-to-create-putty-based-rsa-public-key-for-openssh-server/" title="How To Create Putty-based RSA Public-key For OpenSSH Server?">How To Create Putty-based RSA Public-key For OpenSSH Server?</a></li><li><a href="http://www.walkernews.net/2009/04/23/how-to-play-wv-file-or-wavpack-media-file/" title="How To Play WV File Or WavPack Media File?">How To Play WV File Or WavPack Media File?</a></li><li><a href="http://www.walkernews.net/2009/04/08/how-to-fix-windows-live-messenger-login-error-code-80048820/" title="How To Fix Windows Live Messenger Login Error Code 80048820?">How To Fix Windows Live Messenger Login Error Code 80048820?</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.walkernews.net/2009/07/01/how-to-turn-off-or-disable-the-citrix-beep-sound/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How To Use Putty-generated RSA Key To Login Linux OpenSSH Server?</title>
		<link>http://www.walkernews.net/2009/05/11/how-to-use-putty-generated-rsa-key-to-login-linux-openssh-server/</link>
		<comments>http://www.walkernews.net/2009/05/11/how-to-use-putty-generated-rsa-key-to-login-linux-openssh-server/#comments</comments>
		<pubDate>Sun, 10 May 2009 16:28:04 +0000</pubDate>
		<dc:creator>Walker</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSSH]]></category>
		<category><![CDATA[Putty]]></category>
		<category><![CDATA[Puttygen]]></category>
		<category><![CDATA[Remote Access]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tricks]]></category>

		<guid isPermaLink="false">http://www.walkernews.net/?p=2601</guid>
		<description><![CDATA[You have to make changes to Putty-generated RSA public key in order to remotely access Linux server over SSH protocol.]]></description>
			<content:encoded><![CDATA[In order for Windows users to remotely login Linux servers via SSH protocol, I suggest the Putty freeware (a SSH client for Windows that is also supporting legacy, insecure telnet and rlogin protocol).<br />
<span id="more-2601"></span><br />
<!--wgadh-->For the sake of better security, most system administrators enforce SSH authentication over Public-key cryptography based on RSA algorithm.<br />
<br />(Sounds complicated and high-tech? No worry. You don&#8217;t have to know all these scary terms to make this trick works &#8211; engineer is applying what the scientists have found).<br />
<br />So, <span class="subhead">How to use Putty-based RSA public-key with OpenSSH server?</span><br />
<br />The public-key generated by Puttygen is not compatible with the one generated by OpenSSH.<br />
<br />However, you can manually modify the Putty-based public key before appending it to authorized_keys file:<br />
<br />1) Open Puttygen (Putty Key Generator), click Generate button and move the mouse cursor randomly within the <span class="subhead2">key</span> section/frame to create the key with default settings (e.g. SSH-2 RSA  of 1024 bits).<br />
<br />2) When the key generation completes, create a strong passphrase in the text box provided.<br />
<br />3) Then, click save Public Key and Save Private Key button, one after another, to save the pair of key to local hard disk.<br />
<br />4) Transfer the Puttygen-created public key to Linux server (in my test case, it&#8217;s RHEL 5.2).<br />
<br />Let&#8217;s say this public key is only meant for Walker user account, save that public key in Walker&#8217;s $HOME/.ssh directory.<br />
<br />5) Open the Putty public key with Vi editor (any text editor of your choice):<br />
<ul>
<li>Delete the lines initial with four dash and &#8220;Comment&#8221;.</li>
<li>Join the remain lines into one, single line.</li>
<li>Initial that single line with <code>ssh-rsa </code> keyword (a space at the end).</li>
</ul>
<br />Not get it? Take a look at my &#8220;silent&#8221; screencast:<br />
<br /><object width="500" height="405"><param name="movie" value="http://www.youtube-nocookie.com/v/j7N7n_VqeJI&#038;hl=en&#038;fs=1&#038;rel=0&#038;color1=0x3a3a3a&#038;color2=0x999999&#038;border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube-nocookie.com/v/j7N7n_VqeJI&#038;hl=en&#038;fs=1&#038;rel=0&#038;color1=0x3a3a3a&#038;color2=0x999999&#038;border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="405"></embed></object><br />

<ul class="related_post"><li><a href="http://www.walkernews.net/2009/05/03/how-to-create-putty-based-rsa-public-key-for-openssh-server/" title="How To Create Putty-based RSA Public-key For OpenSSH Server?">How To Create Putty-based RSA Public-key For OpenSSH Server?</a></li><li><a href="http://www.walkernews.net/2009/03/22/how-to-fix-server-refused-our-key-error-that-caused-by-putty-generated-rsa-public-key/" title="How To Fix &#8220;Server Refused Our Key&#8221; Error That Caused By Putty Generated RSA Public Key?">How To Fix &#8220;Server Refused Our Key&#8221; Error That Caused By Putty Generated RSA Public Key?</a></li><li><a href="http://www.walkernews.net/2009/05/02/how-to-regenerate-putty-based-rsa-public-key-from-its-private-key/" title="How To Regenerate Putty-based RSA Public-key From Its Private-key?">How To Regenerate Putty-based RSA Public-key From Its Private-key?</a></li><li><a href="http://www.walkernews.net/2009/04/06/how-to-fix-scp-and-ssh-login-prompt-is-very-slow-in-linux/" title="How To Fix: SCP And SSH Login Prompt Is Very Slow In Linux">How To Fix: SCP And SSH Login Prompt Is Very Slow In Linux</a></li><li><a href="http://www.walkernews.net/2008/06/06/how-to-setup-non-interactive-ssh-login/" title="How To Setup Non-Interactive SSH Login">How To Setup Non-Interactive SSH Login</a></li><li><a href="http://www.walkernews.net/2008/06/05/configure-putty-to-support-password-less-ssh-login/" title="Configure Putty To Support Password-less SSH Login">Configure Putty To Support Password-less SSH Login</a></li><li><a href="http://www.walkernews.net/2009/03/18/how-to-allow-root-login-to-telnet-server-in-linux/" title="How To Allow Root Login To Telnet Server In Linux?">How To Allow Root Login To Telnet Server In Linux?</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.walkernews.net/2009/05/11/how-to-use-putty-generated-rsa-key-to-login-linux-openssh-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Create Putty-based RSA Public-key For OpenSSH Server?</title>
		<link>http://www.walkernews.net/2009/05/03/how-to-create-putty-based-rsa-public-key-for-openssh-server/</link>
		<comments>http://www.walkernews.net/2009/05/03/how-to-create-putty-based-rsa-public-key-for-openssh-server/#comments</comments>
		<pubDate>Sun, 03 May 2009 11:00:53 +0000</pubDate>
		<dc:creator>Walker</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Authorized_Keys]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSSH]]></category>
		<category><![CDATA[Public-key]]></category>
		<category><![CDATA[Putty]]></category>
		<category><![CDATA[Puttygen]]></category>
		<category><![CDATA[Remote Access]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tricks]]></category>

		<guid isPermaLink="false">http://www.walkernews.net/?p=2579</guid>
		<description><![CDATA[You cannot append or insert Putty-based RSA key to authorized_keys file of OpenSSH. A little bit of changes is necessary to authenticate with OpenSSH server using the Putty-generated RSA Public-key.]]></description>
			<content:encoded><![CDATA[If you want to remote access Linux server via SSH protocol from Windows system, I recommend you to use Putty (a Telnet/SSH freeware for Windows and UNIX; developed by an English man called Simon Tatham).<br />
<span id="more-2579"></span><br />
<!--wgadh-->To strengthen security, don&#8217;t ever use plain text password, try to use RSA-based Public-key cryptography for user authentication. The Puttygen (Putty Key Generator; another freeware of Simon) can generate both RSA and DSA-based key pair.<br />
<br />However, the RSA public-key generated by Puttygen is not 100% compatible with OpenSSH server (the dominant SSH server in most Linux distributions).<br />
<br />To make it work, you need to modify the Putty-based RSA public-key before appending it to authorized_keys file.<br />
<br /><span class="subhead">Steps to generate Putty-based RSA key pair to login Linux OpenSSH server</span><br />
<br />1) Open Puttygen program and click Generate button to create a 1024-bit, SSH-2 RSA key pair. After clicking the Generate button, move the mouse cursor inside the Key frame repeatedly (Puttygen need these movements to create a &#8220;perfect random key pair&#8221;).<br />
<br />2) Once the key pair generation complete, think of a &#8220;strong&#8221; password and enter it twice in the Key Passphrase and Confirm Passphrase text boxes provided in Key frame.<br />
<br />3) Click Save Public-key and Save Private-key buttons to keep these two keys in local hard disk.<br />
<br />4) Transfer the public-key to your Linux home directory (assuming this public-key is made for yourself) and open it with vi editor (any text editor of your choice).<br />
<br />5) The original Putty-based RSA public-key is similar to this:<br />
<br /><img src="http://www.walkernews.net/wp-content/uploads/2009/03/putty-rsa-public-key.jpg" alt="Original RSA type of public-key generated by Puttygen program." title="Original RSA type of public-key generated by Puttygen program." /><br />
<br />You need to delete the lines started with &#8220;4 dash&#8221; and &#8220;Comment:&#8221; (i.e. first two and the last line).<br />
<br />Next, join all the remaining lines into one, single line.<br />
<br />Then, insert this <code>ssh-rsa </code> keyword (with a trailing space) in front of the single line.<br />
<br />The final, modified Putty-based RSA public-key will looks like this:<br />
<br /><img src="http://www.walkernews.net/wp-content/uploads/2009/03/putty-rsa-public-key-2.jpg" alt="Modified, tweak RSA type of public-key generated by Putty client program, to be installed into OpenSSH authorized_keys file." title="Modified, tweak RSA type of public-key generated by Putty client program, to be installed into OpenSSH authorized_keys file." /><br />
<br />6) Now, append the modified Putty-based RSA public key to <span class="fpath">$HOME/.ssh/authorized_keys</span> file and you&#8217;re ready to use Putty to access Linux OpenSSH server with private and public key generated by Puttygen.<br />

<ul class="related_post"><li><a href="http://www.walkernews.net/2009/05/11/how-to-use-putty-generated-rsa-key-to-login-linux-openssh-server/" title="How To Use Putty-generated RSA Key To Login Linux OpenSSH Server?">How To Use Putty-generated RSA Key To Login Linux OpenSSH Server?</a></li><li><a href="http://www.walkernews.net/2009/03/22/how-to-fix-server-refused-our-key-error-that-caused-by-putty-generated-rsa-public-key/" title="How To Fix &#8220;Server Refused Our Key&#8221; Error That Caused By Putty Generated RSA Public Key?">How To Fix &#8220;Server Refused Our Key&#8221; Error That Caused By Putty Generated RSA Public Key?</a></li><li><a href="http://www.walkernews.net/2009/05/02/how-to-regenerate-putty-based-rsa-public-key-from-its-private-key/" title="How To Regenerate Putty-based RSA Public-key From Its Private-key?">How To Regenerate Putty-based RSA Public-key From Its Private-key?</a></li><li><a href="http://www.walkernews.net/2008/06/06/how-to-setup-non-interactive-ssh-login/" title="How To Setup Non-Interactive SSH Login">How To Setup Non-Interactive SSH Login</a></li><li><a href="http://www.walkernews.net/2008/06/05/configure-putty-to-support-password-less-ssh-login/" title="Configure Putty To Support Password-less SSH Login">Configure Putty To Support Password-less SSH Login</a></li><li><a href="http://www.walkernews.net/2008/06/09/configure-secured-private-key-for-password-less-ssh-login/" title="Configure Secured Private Key For Password-less SSH Login">Configure Secured Private Key For Password-less SSH Login</a></li><li><a href="http://www.walkernews.net/2009/04/06/how-to-fix-scp-and-ssh-login-prompt-is-very-slow-in-linux/" title="How To Fix: SCP And SSH Login Prompt Is Very Slow In Linux">How To Fix: SCP And SSH Login Prompt Is Very Slow In Linux</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.walkernews.net/2009/05/03/how-to-create-putty-based-rsa-public-key-for-openssh-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How To Fix &#8220;Server Refused Our Key&#8221; Error That Caused By Putty Generated RSA Public Key?</title>
		<link>http://www.walkernews.net/2009/03/22/how-to-fix-server-refused-our-key-error-that-caused-by-putty-generated-rsa-public-key/</link>
		<comments>http://www.walkernews.net/2009/03/22/how-to-fix-server-refused-our-key-error-that-caused-by-putty-generated-rsa-public-key/#comments</comments>
		<pubDate>Sun, 22 Mar 2009 08:16:40 +0000</pubDate>
		<dc:creator>Walker</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Putty]]></category>
		<category><![CDATA[Puttygen]]></category>
		<category><![CDATA[Remote Access]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tricks]]></category>

		<guid isPermaLink="false">http://www.walkernews.net/?p=2222</guid>
		<description><![CDATA[There is a trick to install public key generated by Puttygen into OpenSSH server. Otherwise, Putty will fail to authenticate with OpenSSH server with rejection message that says "Server refused our key".]]></description>
			<content:encoded><![CDATA[The SSH-2 protocol supports few user authentication types, one of which is <a href="http://www.walkernews.net/2008/06/04/auto-ssh-login-by-using-public-key-cryptography/" title="Auto SSH Login By Using Public-key Cryptography" rel="bookmark">public-key cryptography</a>.<br />
<span id="more-2222"></span><br />
Other than security benefit, using public-key cryptography in SSH protocol is relatively easier to implement <a href="http://www.walkernews.net/2008/06/09/configure-secured-private-key-for-password-less-ssh-login/" title="Configure Secured Private Key For Password-less SSH Login" rel="bookmark">password-less or non-interactive authentication</a>.<br />
<br /><!--wgadh-->For example, a scheduled shell script can use scp (secure copy) to automate file-transfer between hosts seamlessly in background, without user interaction during authentication stage.<br />
<br />With OpenSSH, default SSH client/server software bundled with most <a href="http://www.walkernews.net/2008/05/17/direct-download-fedora-and-red-hat-linux-iso-cd-image/" title="Direct Download Fedora And Red Hat Linux ISO CD Image" rel="bookmark">Linux distributions</a>, the <code>ssh-keygen</code> program is used to generate a pair of such cryptographic keys.<br />
<br />As for <a href="http://www.walkernews.net/2008/06/05/configure-putty-to-support-password-less-ssh-login/" title="Configure Putty To Support Password-less SSH Login" rel="bookmark">Putty</a>, popular SSH client suite for Windows, there is this Puttygen program to provide similar functions of ssh-keygen.<br />
<br />However, there is incompatibility issue between RSA type of public key generated by ssh-keygen and Puttygen.<br />
<br />Having said that, you can&#8217;t install OpenSSH-generated private key in Putty program. Otherwise, the public-key authentication failed with message that says &#8220;Unable to use key file &#8220;E:\id_rsa&#8221; (OpenSSH SSH-2 private key)&#8221;.<br />
<br />Similarly, it&#8217;s not possible to install a Puttygen-generated public-key directly into OpenSSH authorized_keys file. If you do so, Putty fails with &#8220;Server refused our key&#8221; error message during authentication.<br />
<br />So, <span class="subhead">how to install a Putty-generated RSA type of Public-key in OpenSSH authorized_keys file?</span><br />
<br />This is the latest &#8220;silent&#8221; screencast in <a href="http://www.youtube.com/WalkerNewsDotnet" title="WalkerNews Channel at YouTube" rel="bookmark">WalkerNews Channel @ YouTube</a> (alive with background music from <a href="http://www.walkernews.net/2008/12/10/how-to-add-background-music-to-your-video-at-youtube/" title="How To Add Background Music To Your Video At YouTube?" rel="bookmark">AudioSwap</a>):<br />
<blockquote>
If you&#8217;re on fast and stable connection, please click the HQ button on for watching this screencast in <a href="http://www.walkernews.net/2009/03/12/new-youtube-player-interface-to-view-hd-video-clip/" title="New YouTube Player Interface To View HD Video Clip" rel="bookmark">high quality video mode</a>.
</blockquote>
<br /><object width="500" height="405"><param name="movie" value="http://www.youtube.com/v/j7N7n_VqeJI&#038;hl=en&#038;fs=1&#038;rel=0&#038;color1=0x3a3a3a&#038;color2=0x999999&#038;border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/j7N7n_VqeJI&#038;hl=en&#038;fs=1&#038;rel=0&#038;color1=0x3a3a3a&#038;color2=0x999999&#038;border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="405"></embed></object><br />
<br />As you&#8217;ve seen, the trick is to modified a Puttygen-generated public-key to the format of OpenSSH-generated public-key:<br />
<br />1) Edit Putty-generated public-key file with <a href="http://www.walkernews.net/2008/01/18/why-vim-editor-better-than-vi-editor/" title="Why VIM Editor Better Than VI Editor" rel="bookmark">Vi editor</a>,<br />
<br /><img src="http://www.walkernews.net/wp-content/uploads/2009/03/putty-rsa-public-key.jpg" alt="Original RSA type of public-key generated by Puttygen program." title="Original RSA type of public-key generated by Puttygen program." /><br />
<sup>Original RSA type of public-key generated by Puttygen program.</sup><br />
<br />2) Delete the first two and the last line,<br />
<br />3) Join the remaining lines into one single line, by using the Shift+J command shortcut. Remember to trim space between two line joined by CTRL+J command.<br />
<br />4) Insert <code>ssh-rsa </code> keyword (with one trailing space) in front of the single line.<br />
<br />5) [ OPTIONAL ] Append <code> <span style="color:#F00;font-weight:bold;">Login_ID</span>@<span style="color:#F00;font-weight:bold;">Host_name</span></code> keyword (with a initial space) at the end of the single line (replace <em>Login_ID</em> and <em>Host_name</em> with your SSH login ID and host name accordingly).<br />
<br /><img src="http://www.walkernews.net/wp-content/uploads/2009/03/putty-rsa-public-key-2.jpg" alt="Modified, tweak RSA type of public-key generated by Putty client program, to be installed into OpenSSH authorized_keys file." title="Modified, tweak RSA type of public-key generated by Putty client program, to be installed into OpenSSH authorized_keys file." /><br />
<sup>Modified, tweak RSA type of public-key generated by Putty client program, to be installed into OpenSSH authorized_keys file.</sup><br />
<br />6) Append the modified, tweaked Putty-generated public-key (RSA type) to OpenSSH authorized_keys file.<br />
<br />Now, Putty is able to login OpenSSH server with its own set of public-key and private-key pair:<br />
<br /><img src="http://www.walkernews.net/wp-content/uploads/2009/03/putty-openssh-rsa-key.jpg" alt="Trick to fix Server Refused Our Key in Putty." title="Trick to fix Server Refused Our Key in Putty." /><br />

<ul class="related_post"><li><a href="http://www.walkernews.net/2009/05/11/how-to-use-putty-generated-rsa-key-to-login-linux-openssh-server/" title="How To Use Putty-generated RSA Key To Login Linux OpenSSH Server?">How To Use Putty-generated RSA Key To Login Linux OpenSSH Server?</a></li><li><a href="http://www.walkernews.net/2009/05/03/how-to-create-putty-based-rsa-public-key-for-openssh-server/" title="How To Create Putty-based RSA Public-key For OpenSSH Server?">How To Create Putty-based RSA Public-key For OpenSSH Server?</a></li><li><a href="http://www.walkernews.net/2009/05/02/how-to-regenerate-putty-based-rsa-public-key-from-its-private-key/" title="How To Regenerate Putty-based RSA Public-key From Its Private-key?">How To Regenerate Putty-based RSA Public-key From Its Private-key?</a></li><li><a href="http://www.walkernews.net/2008/06/06/how-to-setup-non-interactive-ssh-login/" title="How To Setup Non-Interactive SSH Login">How To Setup Non-Interactive SSH Login</a></li><li><a href="http://www.walkernews.net/2009/04/06/how-to-fix-scp-and-ssh-login-prompt-is-very-slow-in-linux/" title="How To Fix: SCP And SSH Login Prompt Is Very Slow In Linux">How To Fix: SCP And SSH Login Prompt Is Very Slow In Linux</a></li><li><a href="http://www.walkernews.net/2009/03/18/how-to-allow-root-login-to-telnet-server-in-linux/" title="How To Allow Root Login To Telnet Server In Linux?">How To Allow Root Login To Telnet Server In Linux?</a></li><li><a href="http://www.walkernews.net/2008/11/19/how-to-install-and-start-telnet-server-in-red-hat-linux/" title="How To Install And Start Telnet Server In Red Hat Linux?">How To Install And Start Telnet Server In Red Hat Linux?</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.walkernews.net/2009/03/22/how-to-fix-server-refused-our-key-error-that-caused-by-putty-generated-rsa-public-key/feed/</wfw:commentRss>
		<slash:comments>54</slash:comments>
		</item>
		<item>
		<title>How To Quit From Telnet Login Prompt Immediately?</title>
		<link>http://www.walkernews.net/2009/03/19/how-to-quit-from-telnet-login-prompt-immediately/</link>
		<comments>http://www.walkernews.net/2009/03/19/how-to-quit-from-telnet-login-prompt-immediately/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 14:48:22 +0000</pubDate>
		<dc:creator>Walker</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Remote Access]]></category>
		<category><![CDATA[Telnet]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tricks]]></category>

		<guid isPermaLink="false">http://www.walkernews.net/?p=2206</guid>
		<description><![CDATA[Is there a proper way to exit from telnet login prompt other than forcibly kill the telnet client process?]]></description>
			<content:encoded><![CDATA[To many of you, this is not an interested post. However, it will not cost much for recording it here as a reference.<br />
<br /><span class="subhead">Question:</span> You&#8217;re accessing <a href="http://www.walkernews.net/2007/03/29/brighten-linux-ls-command-output-with-ls_colors/" title="How to make the Linux command console looks brighter in dark console?" rel="bookmark">Linux command prompt</a> in front of server console or via remote access client (be it a <a href="http://www.walkernews.net/2009/03/18/how-to-allow-root-login-to-telnet-server-in-linux/" title="How to allow root user login to telnet server directly?" rel="bookmark">insecure telnet</a> or <a href="http://www.walkernews.net/2007/07/21/how-to-setup-ssh-port-forwarding-in-3-minutes/" title="How to setup secured SSH port forwarding in 3 minutes?" rel="bookmark">encrypted SSH connection</a>).<br />
<span id="more-2206"></span><br />
<!--wgadh-->Then, from that Linux command prompt, you make a telnet connection to other <a href="http://www.walkernews.net/2008/11/19/how-to-install-and-start-telnet-server-in-red-hat-linux/" title="How to install and start telnet server in Red Hat Linux?" rel="bookmark">telnet server</a> (be it a Unix/Linux-based or the Windows Telnet server).<br />
<br />While at telnet login prompt, you find out that is not the right telnet server to access and want to quit immediately.<br />
<br />So, how could you exit from the telnet login prompt immediately, without waiting for it to time out or forcibly terminate the telnet client process?<br />
<br /><span class="subhead">Answer:</span> I find out that the telnet client of either Windows Vista Ultimate or Red Hat Enterprise Linux 4 supports the same &#8220;escape&#8221; key.<br />
<br />This special key, better known as &#8220;escape character&#8221; brings up the <span style="font-weight:bold;">telnet &gt;</span> command prompt instantly when it&#8217;s pressed.<br />
<br />As seen in this following screenshot, the &#8220;escape character&#8221; is <span style="font-weight:bold;">^]</span>. That&#8217;s to say, press <span style="font-weight:bold;">CTRL</span> and <span style="font-weight:bold;">]</span> together for the <span style="font-weight:bold;">telnet &gt;</span> command prompt and just enter <code>quit</code> command to end the telnet client process properly:<br />
<br /><img src="http://www.walkernews.net/wp-content/uploads/2009/03/telnet-client.jpg" alt="Telnet client - how to exit from telnet login prompt immediately?" title="Telnet client - how to exit from telnet login prompt immediately?" /><br />
<br />With this &#8220;proper&#8221; way, there is no need to wait for time out, simply close Putty window, or execute kill -9 command from another session.<br />

<ul class="related_post"><li><a href="http://www.walkernews.net/2009/03/18/how-to-allow-root-login-to-telnet-server-in-linux/" title="How To Allow Root Login To Telnet Server In Linux?">How To Allow Root Login To Telnet Server In Linux?</a></li><li><a href="http://www.walkernews.net/2008/11/20/how-to-fix-telnet-rejection-error-of-name-or-service-not-known-illegal-seek/" title="How To Fix Telnet Rejection Error of Name or Service Not Known: Illegal Seek">How To Fix Telnet Rejection Error of Name or Service Not Known: Illegal Seek</a></li><li><a href="http://www.walkernews.net/2008/11/19/how-to-install-and-start-telnet-server-in-red-hat-linux/" title="How To Install And Start Telnet Server In Red Hat Linux?">How To Install And Start Telnet Server In Red Hat Linux?</a></li><li><a href="http://www.walkernews.net/2009/07/01/how-to-turn-off-or-disable-the-citrix-beep-sound/" title="How To Turn Off Or Disable The Citrix Beep Sound?">How To Turn Off Or Disable The Citrix Beep Sound?</a></li><li><a href="http://www.walkernews.net/2009/05/11/how-to-use-putty-generated-rsa-key-to-login-linux-openssh-server/" title="How To Use Putty-generated RSA Key To Login Linux OpenSSH Server?">How To Use Putty-generated RSA Key To Login Linux OpenSSH Server?</a></li><li><a href="http://www.walkernews.net/2009/05/03/how-to-create-putty-based-rsa-public-key-for-openssh-server/" title="How To Create Putty-based RSA Public-key For OpenSSH Server?">How To Create Putty-based RSA Public-key For OpenSSH Server?</a></li><li><a href="http://www.walkernews.net/2009/03/22/how-to-fix-server-refused-our-key-error-that-caused-by-putty-generated-rsa-public-key/" title="How To Fix &#8220;Server Refused Our Key&#8221; Error That Caused By Putty Generated RSA Public Key?">How To Fix &#8220;Server Refused Our Key&#8221; Error That Caused By Putty Generated RSA Public Key?</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.walkernews.net/2009/03/19/how-to-quit-from-telnet-login-prompt-immediately/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How To Allow Root Login To Telnet Server In Linux?</title>
		<link>http://www.walkernews.net/2009/03/18/how-to-allow-root-login-to-telnet-server-in-linux/</link>
		<comments>http://www.walkernews.net/2009/03/18/how-to-allow-root-login-to-telnet-server-in-linux/#comments</comments>
		<pubDate>Tue, 17 Mar 2009 17:15:23 +0000</pubDate>
		<dc:creator>Walker</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Remote Access]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Telnet]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tricks]]></category>

		<guid isPermaLink="false">http://www.walkernews.net/?p=2194</guid>
		<description><![CDATA[If you insist, this is the way to enable remotely login Linux server via telnet protocol with root user privilege.]]></description>
			<content:encoded><![CDATA[Although remote access via telnet protocol is highly discouraged by most system administrators, there are still fans and old boys who are reluctant to change.<br />
<span id="more-2194"></span><br />
Interestingly, these people (who I&#8217;ve been dealing with) are all Windows users, i.e. they either use Windows at most of the time or they never have their hands on Linux at all.<br />

So, I guess these people will only abandon telnet client when Microsoft start to bundle <a href="http://www.walkernews.net/2007/07/22/ssh-port-forwarding-local-vs-remote/" title="How to configure local or remote port forwarding with SSH clients?" rel="bookmark">Secure Shell (SSH) clients</a> with Windows OS :-(<br />
<br />Now back to topic, if you really want to put the Linux host at risk by allowing telnet protocol, here is the way to <a href="http://www.walkernews.net/2008/11/19/how-to-install-and-start-telnet-server-in-red-hat-linux/" title="How to install and turn on telnet server in Red Hat Linux system?" rel="bookmark">enable telnet server in Red Hat Enterprise Linux system</a> (in case you&#8217;re asking).<br />
<br />Next, we look at <span class="subhead">How to enable root account telnet to Red Hat Linux system</span>, if you have nothing to worry about system security (because you&#8217;re sysadmin, not security administrator :-)<br />
<blockquote>
Telnet client transmit account password in plain text format over (vulnerable) network. Thus, by default, Red Hat Linux (and most Linux distributions, I believe) disables telnet daemon and disallow root user to login directly via telnet protocol.
</blockquote>
<br />When you telnet to RHEL server with root ID, it will always rejects with message saying &#8220;Login incorrect&#8221;, no matter how many times you&#8217;ve entered the correct root password:<br />
<br /><img src="http://www.walkernews.net/wp-content/uploads/2009/03/linux-telnet.jpg" alt="How to enable root user login to telnet server directly in Red Hat Linux system?" title="How to enable root user login to telnet server directly in Red Hat Linux system?" /><br />
<br />To overcome this &#8220;problem&#8221;, simply open <span class="fpath">/etc/pam.d/remote</span> and remark this following line, where the PAM module <em>pam_securetty.so</em> disallows root user login remotely via telnet and the alike (except SSH).<br />
<br />Original <span class="fpath">/etc/pam.d/remote</span> with this line:<br />
<pre>
auth       required   pam_securetty.so
</pre>
<br />Tweaked <span class="fpath">/etc/pam.d/remote</span> that remark (comment out) <em>pam_securetty.so</em>: <br />
<pre>
# auth       required   pam_securetty.so
</pre>
<br />This guide has been tested successfully on system running RHEL4. It should be valid for use in other Linux distributions that implement Linux-PAM modules (Pluggable Authentication Modules for Linux).<br />

<ul class="related_post"><li><a href="http://www.walkernews.net/2008/11/20/how-to-fix-telnet-rejection-error-of-name-or-service-not-known-illegal-seek/" title="How To Fix Telnet Rejection Error of Name or Service Not Known: Illegal Seek">How To Fix Telnet Rejection Error of Name or Service Not Known: Illegal Seek</a></li><li><a href="http://www.walkernews.net/2008/11/19/how-to-install-and-start-telnet-server-in-red-hat-linux/" title="How To Install And Start Telnet Server In Red Hat Linux?">How To Install And Start Telnet Server In Red Hat Linux?</a></li><li><a href="http://www.walkernews.net/2009/05/11/how-to-use-putty-generated-rsa-key-to-login-linux-openssh-server/" title="How To Use Putty-generated RSA Key To Login Linux OpenSSH Server?">How To Use Putty-generated RSA Key To Login Linux OpenSSH Server?</a></li><li><a href="http://www.walkernews.net/2009/05/03/how-to-create-putty-based-rsa-public-key-for-openssh-server/" title="How To Create Putty-based RSA Public-key For OpenSSH Server?">How To Create Putty-based RSA Public-key For OpenSSH Server?</a></li><li><a href="http://www.walkernews.net/2009/04/06/how-to-fix-scp-and-ssh-login-prompt-is-very-slow-in-linux/" title="How To Fix: SCP And SSH Login Prompt Is Very Slow In Linux">How To Fix: SCP And SSH Login Prompt Is Very Slow In Linux</a></li><li><a href="http://www.walkernews.net/2009/03/22/how-to-fix-server-refused-our-key-error-that-caused-by-putty-generated-rsa-public-key/" title="How To Fix &#8220;Server Refused Our Key&#8221; Error That Caused By Putty Generated RSA Public Key?">How To Fix &#8220;Server Refused Our Key&#8221; Error That Caused By Putty Generated RSA Public Key?</a></li><li><a href="http://www.walkernews.net/2009/05/02/how-to-regenerate-putty-based-rsa-public-key-from-its-private-key/" title="How To Regenerate Putty-based RSA Public-key From Its Private-key?">How To Regenerate Putty-based RSA Public-key From Its Private-key?</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.walkernews.net/2009/03/18/how-to-allow-root-login-to-telnet-server-in-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How To Fix Telnet Rejection Error of Name or Service Not Known: Illegal Seek</title>
		<link>http://www.walkernews.net/2008/11/20/how-to-fix-telnet-rejection-error-of-name-or-service-not-known-illegal-seek/</link>
		<comments>http://www.walkernews.net/2008/11/20/how-to-fix-telnet-rejection-error-of-name-or-service-not-known-illegal-seek/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 17:16:08 +0000</pubDate>
		<dc:creator>Walker</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[KnowHow]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Protocol]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Remote Access]]></category>
		<category><![CDATA[TCP]]></category>
		<category><![CDATA[Telnet]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tricks]]></category>

		<guid isPermaLink="false">http://www.walkernews.net/?p=1411</guid>
		<description><![CDATA[What happen if you telnet clients unable to remote access Linux server, with an error message that says "Name or service not known: illegal seek".]]></description>
			<content:encoded><![CDATA[We all know that telnet is a good remote access protocol in the old days. Now, we prefer <a href="http://www.walkernews.net/2007/07/22/ssh-port-forwarding-local-vs-remote/" title="SSH Local Port Forwarding VS Remote Port Forwarding" rel="bookmark">SSH protocol</a> because SSH is a secure protocol, i.e. it’s not easy to hack.<br />
<span id="more-1411"></span><br />
However, for some reasons, telnet server still installed for some (Microsoft Windows) users who <!--wgadh3-->desperately need remote access facility. (Maybe telnet server will go into history when Windows start to bundle <a href="http://www.walkernews.net/2008/06/05/configure-putty-to-support-password-less-ssh-login/" title="Configure Putty to support non-interactive or password-less SSH login" rel="bookmark">Putty</a> or its own SSH client).<br />
<br />So, this is what happen here, that we have to <a href="http://www.walkernews.net/2008/11/19/how-to-install-and-start-telnet-server-in-red-hat-linux/" title="How to install and enable telnet server in Red Hat Linux?" rel="bookmark">install and enable the insecure telnet server</a> on all <a href="http://www.walkernews.net/2008/01/15/how-to-install-rhel4-in-hp-netserver-lh3000/" title="How to install RHEL4 in my bloody HP NetServer LH3000" rel="bookmark">Red Hat Enterprise Linux</a> servers, for obvious reason.<br />
<br />Problem happen today when one user reported that he cannot telnet to the server, with an rejection error message that said &#8220;GetAddrInfo: <em>&lt;hostname&gt;</em>: Success. Name or service not known: Illegal seek&#8221; (as seen in the following screenshot taken when I telnet to localhost in a SSH session):<br />
<br /><img style="float:left;margin:0 5px 0 0;" src="http://www.walkernews.net/wp-content/uploads/2008/11/telnet-error.jpg" alt="Linux telnet server rejected client connection with error message saying Name or service not known: Illegal seek." title="Linux telnet server rejected client connection with error message saying Name or service not known: Illegal seek." width="350" height="122" class="size-full wp-image-1414" />How to fix this so-called &#8220;Name or service not known: Illegal seek&#8221; error (replied by the telnet daemon)?<br />
<br />Well, I guess this has something to do with DNS resolution. It was working fine until we changed the Linux hostname on yesterday. The hostname is not registered to <a href="http://www.walkernews.net/2007/06/29/how-to-setup-tinydns-server-for-soho/" title="How to setup TinyDNS server in 3 minutes." rel="bookmark">DNS servers</a> that defined in <span class="fpath">/etc/resolv.conf</span> file and there is no hostname-to-IP mapping in <span class="fpath">/etc/hosts</span> file as well.<br />
<br />So, to try out the possible solution, I <span class="subhead2">add in hostname-to-IP mapping in <span class="fpath">/etc/hosts</span> file, and it works</span>:<br />
<pre>
192.168.20.21      WalkerNews      WalkerNews.net
</pre>
<br />[ assuming the hostname is <a href="http://www.walkernews.net/" title="WalkerNews.net - A capsule of Walker experience in life." rel="bookmark">WalkerNews</a> and its IP address is 192.168.20.21]<br />
<br />I am not sure (because I haven&#8217;t tried) the problem will be fixed, if I remove the hostname-IP mapping in <span class="fpath">/etc/hosts</span> and register the hostname-IP to DNS servers that defined in <span class="fpath">/etc/resolv.conf</span> file. (I bet this will work, too).<br />

<ul class="related_post"><li><a href="http://www.walkernews.net/2009/03/18/how-to-allow-root-login-to-telnet-server-in-linux/" title="How To Allow Root Login To Telnet Server In Linux?">How To Allow Root Login To Telnet Server In Linux?</a></li><li><a href="http://www.walkernews.net/2008/11/19/how-to-install-and-start-telnet-server-in-red-hat-linux/" title="How To Install And Start Telnet Server In Red Hat Linux?">How To Install And Start Telnet Server In Red Hat Linux?</a></li><li><a href="http://www.walkernews.net/2008/11/21/how-to-check-what-kernel-build-options-enabled-in-the-linux-kernel/" title="How To Check What Kernel Build Options Enabled In The Linux Kernel?">How To Check What Kernel Build Options Enabled In The Linux Kernel?</a></li><li><a href="http://www.walkernews.net/2009/05/11/how-to-use-putty-generated-rsa-key-to-login-linux-openssh-server/" title="How To Use Putty-generated RSA Key To Login Linux OpenSSH Server?">How To Use Putty-generated RSA Key To Login Linux OpenSSH Server?</a></li><li><a href="http://www.walkernews.net/2009/05/03/how-to-create-putty-based-rsa-public-key-for-openssh-server/" title="How To Create Putty-based RSA Public-key For OpenSSH Server?">How To Create Putty-based RSA Public-key For OpenSSH Server?</a></li><li><a href="http://www.walkernews.net/2009/04/06/how-to-fix-scp-and-ssh-login-prompt-is-very-slow-in-linux/" title="How To Fix: SCP And SSH Login Prompt Is Very Slow In Linux">How To Fix: SCP And SSH Login Prompt Is Very Slow In Linux</a></li><li><a href="http://www.walkernews.net/2009/04/03/how-to-restart-vnc-server-after-vnc-service-hangs-or-stops-unexpectedly/" title="How To Restart VNC Server After VNC Service Hangs or Stops Unexpectedly?">How To Restart VNC Server After VNC Service Hangs or Stops Unexpectedly?</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.walkernews.net/2008/11/20/how-to-fix-telnet-rejection-error-of-name-or-service-not-known-illegal-seek/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

