<?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: Howto use multiple SSH keys for password less login</title> <atom:link href="http://www.cyberciti.biz/tips/linux-multiple-ssh-key-based-authentication.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/linux-multiple-ssh-key-based-authentication.html</link> <description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description> <lastBuildDate>Fri, 10 Feb 2012 20:37:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: jay</title><link>http://www.cyberciti.biz/tips/linux-multiple-ssh-key-based-authentication.html#comment-174299</link> <dc:creator>jay</dc:creator> <pubDate>Sat, 24 Sep 2011 14:29:09 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-multiple-ssh-key-based-authentication.html#comment-174299</guid> <description>Hi folks,
Currently,for instance, many servers can do passwordless ssh  to SERVER A
Now,we are migrating all the stuff from Server A to Server B.
all those servers which  were connecting to Server A,now  need to connect to Server B.
Can i copy over the authorized_keys file from A to B ,so all those servers can connect to server B passwordlessly.
The idea is to avoid all those servers keys addition to server B /etc/ssh/auth_keys/ file.
Does it matter if platform(solaris to linux,vice versa)is different?
2nd case:
Server A connects to other servers using ssh which is  passwordless. ServerA will be replaced by server B.
do i need to send Servers&#039; B  pub key to all those other servers have them add serverB pub key in their authorized key file?
Or to avoid this, can i just copy over the pub key pair from server A to Server B,so other servers wont have to make any change on their side.</description> <content:encoded><![CDATA[<p>Hi folks,</p><p>Currently,for instance, many servers can do passwordless ssh  to SERVER A<br
/> Now,we are migrating all the stuff from Server A to Server B.<br
/> all those servers which  were connecting to Server A,now  need to connect to Server B.<br
/> Can i copy over the authorized_keys file from A to B ,so all those servers can connect to server B passwordlessly.<br
/> The idea is to avoid all those servers keys addition to server B /etc/ssh/auth_keys/ file.</p><p>Does it matter if platform(solaris to linux,vice versa)is different?</p><p>2nd case:<br
/> Server A connects to other servers using ssh which is  passwordless. ServerA will be replaced by server B.<br
/> do i need to send Servers&#8217; B  pub key to all those other servers have them add serverB pub key in their authorized key file?<br
/> Or to avoid this, can i just copy over the pub key pair from server A to Server B,so other servers wont have to make any change on their side.</p> ]]></content:encoded> </item> <item><title>By: Matt</title><link>http://www.cyberciti.biz/tips/linux-multiple-ssh-key-based-authentication.html#comment-150571</link> <dc:creator>Matt</dc:creator> <pubDate>Tue, 08 Sep 2009 18:37:03 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-multiple-ssh-key-based-authentication.html#comment-150571</guid> <description>Check out the ssh-copy-id command.  It will take care of appending your public key onto the remote system.</description> <content:encoded><![CDATA[<p>Check out the ssh-copy-id command.  It will take care of appending your public key onto the remote system.</p> ]]></content:encoded> </item> <item><title>By: Ron</title><link>http://www.cyberciti.biz/tips/linux-multiple-ssh-key-based-authentication.html#comment-149669</link> <dc:creator>Ron</dc:creator> <pubDate>Fri, 24 Jul 2009 11:12:09 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-multiple-ssh-key-based-authentication.html#comment-149669</guid> <description>Thanks. We have added this to our intranet wiki, just for future ;)</description> <content:encoded><![CDATA[<p>Thanks. We have added this to our intranet wiki, just for future ;)</p> ]]></content:encoded> </item> <item><title>By: pixeldoc</title><link>http://www.cyberciti.biz/tips/linux-multiple-ssh-key-based-authentication.html#comment-147958</link> <dc:creator>pixeldoc</dc:creator> <pubDate>Thu, 02 Apr 2009 23:00:21 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-multiple-ssh-key-based-authentication.html#comment-147958</guid> <description>if you have trouble login to your server, check if /etc/ssh/sshd_config contains &lt;code&gt;Protocol 2
PubkeyAuthentication yes&lt;/code&gt;.</description> <content:encoded><![CDATA[<p>if you have trouble login to your server, check if /etc/ssh/sshd_config contains <code>Protocol 2<br
/> PubkeyAuthentication yes</code>.</p> ]]></content:encoded> </item> <item><title>By: yh</title><link>http://www.cyberciti.biz/tips/linux-multiple-ssh-key-based-authentication.html#comment-147676</link> <dc:creator>yh</dc:creator> <pubDate>Mon, 16 Mar 2009 08:40:51 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-multiple-ssh-key-based-authentication.html#comment-147676</guid> <description>Can i know why need to append own public key to own authorized_keys?
i thought own public key is used for others?
web1 id_rsa.pub append to web2 authorized_keys (correct)
web2 id_rsa.pub append to web1 authorized_keys (correct)
web2 id_rsa.pub append to web2 authorized_keys (doubt)</description> <content:encoded><![CDATA[<p>Can i know why need to append own public key to own authorized_keys?<br
/> i thought own public key is used for others?<br
/> web1 id_rsa.pub append to web2 authorized_keys (correct)<br
/> web2 id_rsa.pub append to web1 authorized_keys (correct)<br
/> web2 id_rsa.pub append to web2 authorized_keys (doubt)</p> ]]></content:encoded> </item> <item><title>By: vivek</title><link>http://www.cyberciti.biz/tips/linux-multiple-ssh-key-based-authentication.html#comment-143705</link> <dc:creator>vivek</dc:creator> <pubDate>Wed, 07 May 2008 13:34:16 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-multiple-ssh-key-based-authentication.html#comment-143705</guid> <description>Mikko,
thanks for the heads up!</description> <content:encoded><![CDATA[<p>Mikko,</p><p>thanks for the heads up!</p> ]]></content:encoded> </item> <item><title>By: Mikko</title><link>http://www.cyberciti.biz/tips/linux-multiple-ssh-key-based-authentication.html#comment-143702</link> <dc:creator>Mikko</dc:creator> <pubDate>Wed, 07 May 2008 13:02:15 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-multiple-ssh-key-based-authentication.html#comment-143702</guid> <description>e)  Should be like
workstation#2 $ scp ~/.ssh/authorized_keys user@remote.server.com:.ssh/
instead of
workstation#2 $ scp ~/.ssh/id_rsa.pub user@remote.server.com:.ssh/authorized_keys
(this ruins the whole idea)
:)</description> <content:encoded><![CDATA[<p>e)  Should be like</p><p>workstation#2 $ scp ~/.ssh/authorized_keys <a
href="mailto:user@remote.server.com">user@remote.server.com</a>:.ssh/</p><p>instead of</p><p>workstation#2 $ scp ~/.ssh/id_rsa.pub <a
href="mailto:user@remote.server.com">user@remote.server.com</a>:.ssh/authorized_keys<br
/> (this ruins the whole idea)</p><p>:)</p> ]]></content:encoded> </item> <item><title>By: matt</title><link>http://www.cyberciti.biz/tips/linux-multiple-ssh-key-based-authentication.html#comment-143041</link> <dc:creator>matt</dc:creator> <pubDate>Fri, 29 Feb 2008 17:00:43 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-multiple-ssh-key-based-authentication.html#comment-143041</guid> <description>I do something like this:
cat .ssh/id_rsa.pub &#124; ssh user@server &quot;cat &gt;&gt; .ssh/authorized_keys&quot;</description> <content:encoded><![CDATA[<p>I do something like this:</p><p>cat .ssh/id_rsa.pub | ssh user@server &#8220;cat &gt;&gt; .ssh/authorized_keys&#8221;</p> ]]></content:encoded> </item> <item><title>By: Malyadri</title><link>http://www.cyberciti.biz/tips/linux-multiple-ssh-key-based-authentication.html#comment-142662</link> <dc:creator>Malyadri</dc:creator> <pubDate>Sun, 27 Jan 2008 17:48:58 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-multiple-ssh-key-based-authentication.html#comment-142662</guid> <description>Good tutorial.....</description> <content:encoded><![CDATA[<p>Good tutorial&#8230;..</p> ]]></content:encoded> </item> <item><title>By: ns</title><link>http://www.cyberciti.biz/tips/linux-multiple-ssh-key-based-authentication.html#comment-141617</link> <dc:creator>ns</dc:creator> <pubDate>Mon, 05 Nov 2007 16:42:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-multiple-ssh-key-based-authentication.html#comment-141617</guid> <description>@Dillip
It might be that you are using SSLv2 in which case you have to copy/append the key to authorized_keys2</description> <content:encoded><![CDATA[<p>@Dillip</p><p>It might be that you are using SSLv2 in which case you have to copy/append the key to authorized_keys2</p> ]]></content:encoded> </item> <item><title>By: Dillip</title><link>http://www.cyberciti.biz/tips/linux-multiple-ssh-key-based-authentication.html#comment-141424</link> <dc:creator>Dillip</dc:creator> <pubDate>Wed, 17 Oct 2007 11:49:24 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-multiple-ssh-key-based-authentication.html#comment-141424</guid> <description>Sir
After creation of key in pc-1 (id_rsa.pub) copy to pc-2 as authorized_keys but I am not able to ssh username@pc-2, against it is now asking password.
Kindly help
Dillip Dhala
dkdhal1@gmail.com</description> <content:encoded><![CDATA[<p>Sir</p><p>After creation of key in pc-1 (id_rsa.pub) copy to pc-2 as authorized_keys but I am not able to ssh username@pc-2, against it is now asking password.</p><p>Kindly help</p><p>Dillip Dhala<br
/> <a
href="mailto:dkdhal1@gmail.com">dkdhal1@gmail.com</a></p> ]]></content:encoded> </item> </channel> </rss>
