<?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: How to SSH without password</title>
	<atom:link href="http://www.vineetmanohar.com/2009/07/howto-ssh-without-password/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vineetmanohar.com/2009/07/howto-ssh-without-password/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=howto-ssh-without-password</link>
	<description>Java, Web 2.0 and other Tech topics</description>
	<lastBuildDate>Thu, 09 Feb 2012 08:01:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Arpit Pandey</title>
		<link>http://www.vineetmanohar.com/2009/07/howto-ssh-without-password/comment-page-1/#comment-83726</link>
		<dc:creator>Arpit Pandey</dc:creator>
		<pubDate>Wed, 01 Feb 2012 07:00:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.vineetmanohar.com/?p=360#comment-83726</guid>
		<description>thanks Vineet. it s really a nice article. 
earlier it was not working for me. but when i had given 
chmod 700 ~

it is working as intended.

thanks a lot.</description>
		<content:encoded><![CDATA[<p>thanks Vineet. it s really a nice article.<br />
earlier it was not working for me. but when i had given<br />
chmod 700 ~</p>
<p>it is working as intended.</p>
<p>thanks a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vineet</title>
		<link>http://www.vineetmanohar.com/2009/07/howto-ssh-without-password/comment-page-1/#comment-80983</link>
		<dc:creator>vineet</dc:creator>
		<pubDate>Tue, 17 Jan 2012 16:03:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.vineetmanohar.com/?p=360#comment-80983</guid>
		<description>Make sure the permissions are set correctly, see the end of the article:
chmod 700 .ssh 
cd .ssh
chmod 600 authorized_keys</description>
		<content:encoded><![CDATA[<p>Make sure the permissions are set correctly, see the end of the article:<br />
chmod 700 .ssh<br />
cd .ssh<br />
chmod 600 authorized_keys</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vikash</title>
		<link>http://www.vineetmanohar.com/2009/07/howto-ssh-without-password/comment-page-1/#comment-80977</link>
		<dc:creator>Vikash</dc:creator>
		<pubDate>Tue, 17 Jan 2012 15:31:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.vineetmanohar.com/?p=360#comment-80977</guid>
		<description>Hi Vineet,
Nice article. I have got a problem with Openssh on Windows XP.
The steps are same as using keygen to create private and public key, copy public key to another system .ssh folder, append it to authorized keys. restart the opensshd on both system.
Still getting prompt for password.
Please help.

Thanks,
Vikash</description>
		<content:encoded><![CDATA[<p>Hi Vineet,<br />
Nice article. I have got a problem with Openssh on Windows XP.<br />
The steps are same as using keygen to create private and public key, copy public key to another system .ssh folder, append it to authorized keys. restart the opensshd on both system.<br />
Still getting prompt for password.<br />
Please help.</p>
<p>Thanks,<br />
Vikash</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://www.vineetmanohar.com/2009/07/howto-ssh-without-password/comment-page-1/#comment-77426</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Thu, 29 Dec 2011 17:38:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.vineetmanohar.com/?p=360#comment-77426</guid>
		<description>Vineet, 

I got it working! I had to change a line in the sshd_config file. It wasn&#039;t looking in the correct location for the authorized_keys file. I had &quot;~/.ssh/authorized_keys&quot;, i replaced it with &quot;/home/%u/.ssh/authorized_keys&quot; and it worked. Thank you for your time.</description>
		<content:encoded><![CDATA[<p>Vineet, </p>
<p>I got it working! I had to change a line in the sshd_config file. It wasn&#8217;t looking in the correct location for the authorized_keys file. I had &#8220;~/.ssh/authorized_keys&#8221;, i replaced it with &#8220;/home/%u/.ssh/authorized_keys&#8221; and it worked. Thank you for your time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://www.vineetmanohar.com/2009/07/howto-ssh-without-password/comment-page-1/#comment-67428</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Thu, 10 Nov 2011 17:46:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.vineetmanohar.com/?p=360#comment-67428</guid>
		<description>Thanks, i&#039;ll work on those.</description>
		<content:encoded><![CDATA[<p>Thanks, i&#8217;ll work on those.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vineet</title>
		<link>http://www.vineetmanohar.com/2009/07/howto-ssh-without-password/comment-page-1/#comment-67425</link>
		<dc:creator>vineet</dc:creator>
		<pubDate>Thu, 10 Nov 2011 17:37:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.vineetmanohar.com/?p=360#comment-67425</guid>
		<description>Rob, I don&#039;t see anything obviously wrong. So let&#039;s try to debug this further...

1) Try the &quot;-v&quot; option on the client side.
ssh -p 2008 “Bad Ass”@XX.XXX.XXX.XX -v

Do you see anything interesting here... if possible can you paste the output.

2) On the server side, see the output in the /var/log/secure file.
tail -f /var/log/secure

Anything interesting there?

3) On the server side, can you take a look at /etc/ssh/ssh_config file. I looked at my file and it is almost empty, with just a few lines:
Host *
    GSSAPIAuthentication yes
    ForwardX11Trusted yes
    SendEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
    SendEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
    SendEnv LC_IDENTIFICATION LC_ALL

Can you paste the content of yours, especially if you see any interesting lines.

4) On the server side, try running the sshd server in the debug mode. See &quot;man sshd&quot;, the &quot;-d&quot; option:
 -d  Debug mode.  The server sends verbose debug output to the system log, and does not put itself in the background.  The server also will not fork and will only process one connection.  This option is only intended for debugging for the server.  Multiple -d options increase the debugging level.  Maximum is 3.

Hope one or more of the above helps.</description>
		<content:encoded><![CDATA[<p>Rob, I don&#8217;t see anything obviously wrong. So let&#8217;s try to debug this further&#8230;</p>
<p>1) Try the &#8220;-v&#8221; option on the client side.<br />
ssh -p 2008 “Bad Ass”@XX.XXX.XXX.XX -v</p>
<p>Do you see anything interesting here&#8230; if possible can you paste the output.</p>
<p>2) On the server side, see the output in the /var/log/secure file.<br />
tail -f /var/log/secure</p>
<p>Anything interesting there?</p>
<p>3) On the server side, can you take a look at /etc/ssh/ssh_config file. I looked at my file and it is almost empty, with just a few lines:<br />
Host *<br />
    GSSAPIAuthentication yes<br />
    ForwardX11Trusted yes<br />
    SendEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES<br />
    SendEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT<br />
    SendEnv LC_IDENTIFICATION LC_ALL</p>
<p>Can you paste the content of yours, especially if you see any interesting lines.</p>
<p>4) On the server side, try running the sshd server in the debug mode. See &#8220;man sshd&#8221;, the &#8220;-d&#8221; option:<br />
 -d  Debug mode.  The server sends verbose debug output to the system log, and does not put itself in the background.  The server also will not fork and will only process one connection.  This option is only intended for debugging for the server.  Multiple -d options increase the debugging level.  Maximum is 3.</p>
<p>Hope one or more of the above helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://www.vineetmanohar.com/2009/07/howto-ssh-without-password/comment-page-1/#comment-67422</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Thu, 10 Nov 2011 17:22:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.vineetmanohar.com/?p=360#comment-67422</guid>
		<description>Any other thoughts for my sanity sake...I&#039;ve been working on this for ever, i just can&#039;t figure out what i did wrong.</description>
		<content:encoded><![CDATA[<p>Any other thoughts for my sanity sake&#8230;I&#8217;ve been working on this for ever, i just can&#8217;t figure out what i did wrong.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://www.vineetmanohar.com/2009/07/howto-ssh-without-password/comment-page-1/#comment-67290</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Wed, 09 Nov 2011 16:39:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.vineetmanohar.com/?p=360#comment-67290</guid>
		<description>1.
ls -al ~/.ssh
drwx------ 2 mobile mobile 170 Nov 6 16:36 ./
drwxr-xr-x 9 mobile mobile 474 Nov 5 11:41 ../
-rw------- 1 mobile mobile 1679 Nov 8 15:26 id_rsa
-rw-r--r-- 1 mobile mobile 410 Nov 8 15:26 id_rsa.pub
-rw-r--r-- 1 mobile mobile 442 Nov 5 11:42 known_hosts

whoami - mobile

2
Bad Ass

ssh -p 2008 &quot;Bad Ass&quot;@XX.XXX.XXX.XX</description>
		<content:encoded><![CDATA[<p>1.<br />
ls -al ~/.ssh<br />
drwx&#8212;&#8212; 2 mobile mobile 170 Nov 6 16:36 ./<br />
drwxr-xr-x 9 mobile mobile 474 Nov 5 11:41 ../<br />
-rw&#8212;&#8212;- 1 mobile mobile 1679 Nov 8 15:26 id_rsa<br />
-rw-r&#8211;r&#8211; 1 mobile mobile 410 Nov 8 15:26 id_rsa.pub<br />
-rw-r&#8211;r&#8211; 1 mobile mobile 442 Nov 5 11:42 known_hosts</p>
<p>whoami &#8211; mobile</p>
<p>2<br />
Bad Ass</p>
<p>ssh -p 2008 &#8220;Bad Ass&#8221;@XX.XXX.XXX.XX</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vineet</title>
		<link>http://www.vineetmanohar.com/2009/07/howto-ssh-without-password/comment-page-1/#comment-67288</link>
		<dc:creator>vineet</dc:creator>
		<pubDate>Wed, 09 Nov 2011 16:24:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.vineetmanohar.com/?p=360#comment-67288</guid>
		<description>I didn&#039;t see any obvious issues with the above.

Can you send a few more things:

1) Output of the following, on the client side:
 ls -al ~/.ssh

 whoami

2) Output of the following, on the server side:
 whoami

3) What is the exact ssh command you are using to login? Just trying to confirm if the username on the server side matches correctly?</description>
		<content:encoded><![CDATA[<p>I didn&#8217;t see any obvious issues with the above.</p>
<p>Can you send a few more things:</p>
<p>1) Output of the following, on the client side:<br />
 ls -al ~/.ssh</p>
<p> whoami</p>
<p>2) Output of the following, on the server side:<br />
 whoami</p>
<p>3) What is the exact ssh command you are using to login? Just trying to confirm if the username on the server side matches correctly?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://www.vineetmanohar.com/2009/07/howto-ssh-without-password/comment-page-1/#comment-67282</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Wed, 09 Nov 2011 15:28:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.vineetmanohar.com/?p=360#comment-67282</guid>
		<description>1) On the server side:

Bad Ass@ROBSCOMPUTER ~
$ ls -ald ~/
drwx------+ 1 Bad Ass None 0 Nov  9 10:17 /home/Bad Ass/

Bad Ass@ROBSCOMPUTER ~
$ ls -ald ~/.ssh
drwx------+ 1 Bad Ass None 0 Nov  9 09:36 /home/Bad Ass/.ssh

2) On the client side:

ls -ald ~/
drwxr-xr-x 9 mobile mobile 374 Nov 5 11:41 /var/mobile/

ls -ald ~/.ssh
drwx------ 2 mobile mobile 170 Nov 6 16:36 /var/mobile/.ssh/</description>
		<content:encoded><![CDATA[<p>1) On the server side:</p>
<p>Bad Ass@ROBSCOMPUTER ~<br />
$ ls -ald ~/<br />
drwx&#8212;&#8212;+ 1 Bad Ass None 0 Nov  9 10:17 /home/Bad Ass/</p>
<p>Bad Ass@ROBSCOMPUTER ~<br />
$ ls -ald ~/.ssh<br />
drwx&#8212;&#8212;+ 1 Bad Ass None 0 Nov  9 09:36 /home/Bad Ass/.ssh</p>
<p>2) On the client side:</p>
<p>ls -ald ~/<br />
drwxr-xr-x 9 mobile mobile 374 Nov 5 11:41 /var/mobile/</p>
<p>ls -ald ~/.ssh<br />
drwx&#8212;&#8212; 2 mobile mobile 170 Nov 6 16:36 /var/mobile/.ssh/</p>
]]></content:encoded>
	</item>
</channel>
</rss>

