<?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: SSH Public Key Based Authentication &#8211; Howto</title> <atom:link href="http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.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: Daniel</title><link>http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-178325</link> <dc:creator>Daniel</dc:creator> <pubDate>Tue, 10 Jan 2012 13:58:39 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-178325</guid> <description>Hi all,
Can perhaps anybody give me a hint for the following ssh issue?
I have machine A and machine B. (AIX machines). I&#039;m logged in as root and wants to check/create ssh keys for some users. For example user STAFF1 has ssh keys on machine A but not on machine B I would like to create ssh keys (ssh-keygen -t rsa ...)
To check if keys are already there I just would check if id_rsa and id_rsa.pub files are existing in machineb:/home/STAFF1.
The main problem is how to generate keys for / as user STAFF1 on the remote machine? My understanding is that I need to be the user when I create the keys, otherwise I would need to use su in a way that it works on a remote machine like
&gt; ssh machineb &#039;su STAFF1; ssh-keygen -t rsa...&#039; which doesn&#039;t work.
Is there a command where I (as root) can create keys for another user????
I&#039;m looking extreeeeeeeeeemly forward to here something from you :-)
Best regards from Germany,
Daniel</description> <content:encoded><![CDATA[<p>Hi all,</p><p>Can perhaps anybody give me a hint for the following ssh issue?</p><p>I have machine A and machine B. (AIX machines). I&#8217;m logged in as root and wants to check/create ssh keys for some users. For example user STAFF1 has ssh keys on machine A but not on machine B I would like to create ssh keys (ssh-keygen -t rsa &#8230;)<br
/> To check if keys are already there I just would check if id_rsa and id_rsa.pub files are existing in machineb:/home/STAFF1.<br
/> The main problem is how to generate keys for / as user STAFF1 on the remote machine? My understanding is that I need to be the user when I create the keys, otherwise I would need to use su in a way that it works on a remote machine like<br
/> &gt; ssh machineb &#8216;su STAFF1; ssh-keygen -t rsa&#8230;&#8217; which doesn&#8217;t work.<br
/> Is there a command where I (as root) can create keys for another user????</p><p>I&#8217;m looking extreeeeeeeeeemly forward to here something from you :-)</p><p>Best regards from Germany,<br
/> Daniel</p> ]]></content:encoded> </item> <item><title>By: Allen Cohen</title><link>http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-172411</link> <dc:creator>Allen Cohen</dc:creator> <pubDate>Tue, 12 Jul 2011 01:27:25 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-172411</guid> <description>I&#039;ve used your method to ssh without a password for a non-root user, say &quot;user&quot;.  This works as long as I&#039;m logged in as &quot;user&quot;.
But if I run as root, the following still asks for &quot;user&quot;&#039;s password.
i.e.: the following works w/o a password:
su - user
ssh host date
But the following asks to the password of &quot;user&quot;:
su - root
ssh user@host date</description> <content:encoded><![CDATA[<p>I&#8217;ve used your method to ssh without a password for a non-root user, say &#8220;user&#8221;.  This works as long as I&#8217;m logged in as &#8220;user&#8221;.<br
/> But if I run as root, the following still asks for &#8220;user&#8221;&#8216;s password.<br
/> i.e.: the following works w/o a password:<br
/> su &#8211; user<br
/> ssh host date<br
/> But the following asks to the password of &#8220;user&#8221;:<br
/> su &#8211; root<br
/> ssh user@host date</p> ]]></content:encoded> </item> <item><title>By: sakthi</title><link>http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-168544</link> <dc:creator>sakthi</dc:creator> <pubDate>Thu, 03 Feb 2011 06:36:19 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-168544</guid> <description>WE have a script which tries to scp to the same machine
machine1&gt;&gt; scp -r user@machine1:fromdir todir
As the keys are not inplace it is prompting for password. Is there any way we could automate this part by generating keys?. I would appreciate if you could give me the steps to perform the ssh.</description> <content:encoded><![CDATA[<p>WE have a script which tries to scp to the same machine<br
/> machine1&gt;&gt; scp -r user@machine1:fromdir todir<br
/> As the keys are not inplace it is prompting for password. Is there any way we could automate this part by generating keys?. I would appreciate if you could give me the steps to perform the ssh.</p> ]]></content:encoded> </item> <item><title>By: Tricky</title><link>http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-155524</link> <dc:creator>Tricky</dc:creator> <pubDate>Mon, 03 May 2010 22:39:12 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-155524</guid> <description>&gt; &gt; I&#039;m not sure if keychain would work for ssh sessions created by cronjob while you&#039;re not logged in.
&gt; Why not?
Maybe should have been more specific - I&#039;m referring to keys which have a passphrase as these keys cannot be used non-interactively.
I do like the --clear now that you&#039;ve made me aware of it. :)</description> <content:encoded><![CDATA[<p>&gt; &gt; I&#8217;m not sure if keychain would work for ssh sessions created by cronjob while you&#8217;re not logged in.<br
/> &gt; Why not?<br
/> Maybe should have been more specific &#8211; I&#8217;m referring to keys which have a passphrase as these keys cannot be used non-interactively.</p><p>I do like the &#8211;clear now that you&#8217;ve made me aware of it. :)</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-155520</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Mon, 03 May 2010 20:48:51 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-155520</guid> <description>&lt;em&gt;&gt; I’m not sure if keychain would work for ssh sessions created by cronjob while you’re not logged in. &lt;/em&gt;
Why not? We have live backup server that pulls data from 20 Linux servers using rsnapshots. rsnapshots is called from cronjobs, all you&#039;ve to do is in your backup script:
&lt;pre&gt;#!/bin/bash
# get keys for ssh, rsync, rsnapshot
/usr/bin/keychain /root/.ssh/id_dsa
# start backup
rsync source dest...&lt;/pre&gt;
All my backup server ssh keys are protected and server generally don&#039;t go offline. I&#039;ve the following in /root/.bash_profile
&lt;pre&gt;/usr/bin/keychain --clear $HOME/.ssh/id_dsa&lt;/pre&gt;
The --clear option is very handy as it allows cron job to do password less login but all users including an intruder must provide a passphrase-key for interactive login.
HTH</description> <content:encoded><![CDATA[<p><em>&gt; I’m not sure if keychain would work for ssh sessions created by cronjob while you’re not logged in. </em><br
/> Why not? We have live backup server that pulls data from 20 Linux servers using rsnapshots. rsnapshots is called from cronjobs, all you&#8217;ve to do is in your backup script:</p><pre>#!/bin/bash
# get keys for ssh, rsync, rsnapshot
/usr/bin/keychain /root/.ssh/id_dsa
# start backup
rsync source dest...</pre><p>All my backup server ssh keys are protected and server generally don&#8217;t go offline. I&#8217;ve the following in /root/.bash_profile</p><pre>/usr/bin/keychain --clear $HOME/.ssh/id_dsa</pre><p>The &#8211;clear option is very handy as it allows cron job to do password less login but all users including an intruder must provide a passphrase-key for interactive login.</p><p>HTH</p> ]]></content:encoded> </item> <item><title>By: Tricky</title><link>http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-155519</link> <dc:creator>Tricky</dc:creator> <pubDate>Mon, 03 May 2010 20:24:11 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-155519</guid> <description>I&#039;m not sure if keychain would work for ssh sessions created by cronjob while you&#039;re not logged in. A passphraseless key would work in that case except that passphraseless keys are not so good. What you could do is limit a separate passphraseless key to only be able to execute a single command:
Add a separate key to the authorized_keys file but start the line of the key with the command that will be run remotely. For example if you want to remotely execute a script called /usr/local/bin/cronjob1, put the key in as:
command=&quot;/usr/local/bin/cronjob1&quot; ssh-rsa AF899EDC23.....rest-of-key.....A3C== cronjob_description@my-desktop
Then in the cronjob, ensure that the ssh session specifies that you want to use a non-default ssh key with &quot;-i&quot;:
0 22 * * * /usr/bin/ssh -i /home/user/.ssh/cronjob1id_rsa user@server &quot;/usr/local/bin/cronjob1&quot;
When the new key is used, the server will always execute the cronjob1 script even if you specify a different command. This can be useful in other ways however I think this is getting towards tutorial territory. ;)</description> <content:encoded><![CDATA[<p>I&#8217;m not sure if keychain would work for ssh sessions created by cronjob while you&#8217;re not logged in. A passphraseless key would work in that case except that passphraseless keys are not so good. What you could do is limit a separate passphraseless key to only be able to execute a single command:</p><p>Add a separate key to the authorized_keys file but start the line of the key with the command that will be run remotely. For example if you want to remotely execute a script called /usr/local/bin/cronjob1, put the key in as:<br
/> command=&#8221;/usr/local/bin/cronjob1&#8243; ssh-rsa AF899EDC23&#8230;..rest-of-key&#8230;..A3C== cronjob_description@my-desktop</p><p>Then in the cronjob, ensure that the ssh session specifies that you want to use a non-default ssh key with &#8220;-i&#8221;:<br
/> 0 22 * * * /usr/bin/ssh -i /home/user/.ssh/cronjob1id_rsa user@server &#8220;/usr/local/bin/cronjob1&#8243;</p><p>When the new key is used, the server will always execute the cronjob1 script even if you specify a different command. This can be useful in other ways however I think this is getting towards tutorial territory. ;)</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-155510</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Mon, 03 May 2010 09:19:13 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-155510</guid> <description>Try &lt;a href=&quot;http://www.cyberciti.biz/faq/ssh-passwordless-login-with-keychain-for-scripts/&quot; rel=&quot;nofollow&quot;&gt;keychain&lt;/a&gt;</description> <content:encoded><![CDATA[<p>Try <a
href="http://www.cyberciti.biz/faq/ssh-passwordless-login-with-keychain-for-scripts/" rel="nofollow">keychain</a></p> ]]></content:encoded> </item> <item><title>By: Barun</title><link>http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-155490</link> <dc:creator>Barun</dc:creator> <pubDate>Sat, 01 May 2010 19:14:37 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-155490</guid> <description>Hi Vivek,
Is there any way to skip typing in the passphrase while login through ssh? For example, some cron jobs run daily, which open ssh sessions to remote machines to do something. Even to have &#039;ssh-add&#039; executed, we need to provide the passphrase.
~ Barun.</description> <content:encoded><![CDATA[<p>Hi Vivek,</p><p>Is there any way to skip typing in the passphrase while login through ssh? For example, some cron jobs run daily, which open ssh sessions to remote machines to do something. Even to have &#8216;ssh-add&#8217; executed, we need to provide the passphrase.</p><p>~ Barun.</p> ]]></content:encoded> </item> <item><title>By: Tricky</title><link>http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-152814</link> <dc:creator>Tricky</dc:creator> <pubDate>Sat, 09 Jan 2010 15:04:24 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-152814</guid> <description>Hi crazyswap
Try running a tcptraceroute (http://en.wikipedia.org/wiki/Tcptraceroute) to your server to confirm that the problem is not the network:
tcptraceroute server.name.or.ip 22
You may need to install tcptraceroute.
If tcptraceroute fails only on the last step then it is likely that the ssh service is not running on the server. If your server is under paid hosting, contact your hosting provider to find out what the cause is.</description> <content:encoded><![CDATA[<p>Hi crazyswap</p><p>Try running a tcptraceroute (<a
href="http://en.wikipedia.org/wiki/Tcptraceroute" rel="nofollow">http://en.wikipedia.org/wiki/Tcptraceroute</a>) to your server to confirm that the problem is not the network:<br
/> tcptraceroute server.name.or.ip 22</p><p>You may need to install tcptraceroute.</p><p>If tcptraceroute fails only on the last step then it is likely that the ssh service is not running on the server. If your server is under paid hosting, contact your hosting provider to find out what the cause is.</p> ]]></content:encoded> </item> <item><title>By: crazyswap</title><link>http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-152806</link> <dc:creator>crazyswap</dc:creator> <pubDate>Sat, 09 Jan 2010 08:26:01 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-152806</guid> <description>I can&#039;t log into my server,it shows network error:connection time out.kindly help.</description> <content:encoded><![CDATA[<p>I can&#8217;t log into my server,it shows network error:connection time out.kindly help.</p> ]]></content:encoded> </item> <item><title>By: Tricky</title><link>http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-151161</link> <dc:creator>Tricky</dc:creator> <pubDate>Thu, 22 Oct 2009 12:46:28 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-151161</guid> <description>Hi Wanga
Likely you have not got the ssh daemon running on the computer you want to connect to, though there could be many other reasons it is not working. Could you paste any error messages you might be getting when you try to connect?</description> <content:encoded><![CDATA[<p>Hi Wanga</p><p>Likely you have not got the ssh daemon running on the computer you want to connect to, though there could be many other reasons it is not working. Could you paste any error messages you might be getting when you try to connect?</p> ]]></content:encoded> </item> <item><title>By: Wanga</title><link>http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-151144</link> <dc:creator>Wanga</dc:creator> <pubDate>Thu, 22 Oct 2009 09:55:14 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-151144</guid> <description>Am not able to login into another computer even after installing ssh on both computers.
It tells me the permission denied ,please try again and when i try again it doesnt log in.
And yet other people are able to use ssh comfortably. My computer is also uptodate</description> <content:encoded><![CDATA[<p>Am not able to login into another computer even after installing ssh on both computers.<br
/> It tells me the permission denied ,please try again and when i try again it doesnt log in.<br
/> And yet other people are able to use ssh comfortably. My computer is also uptodate</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-150579</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Wed, 09 Sep 2009 04:30:31 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-150579</guid> <description>@Sreekar,
Thanks for feedback!
I&#039;m glad to know this site helped you to understand Linux and shell scripting.</description> <content:encoded><![CDATA[<p>@Sreekar,</p><p>Thanks for feedback!</p><p>I&#8217;m glad to know this site helped you to understand Linux and shell scripting.</p> ]]></content:encoded> </item> <item><title>By: sreekar</title><link>http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-150572</link> <dc:creator>sreekar</dc:creator> <pubDate>Tue, 08 Sep 2009 19:05:22 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-150572</guid> <description>sir,
your article is very educational. i also referred your tutorial on shell scripting. The way you write in simple language makes a difficult concept also understandable. I think this is a trait of all Indian writers.
thank you for the good work
sincerely,
sreekar</description> <content:encoded><![CDATA[<p>sir,<br
/> your article is very educational. i also referred your tutorial on shell scripting. The way you write in simple language makes a difficult concept also understandable. I think this is a trait of all Indian writers.</p><p>thank you for the good work</p><p>sincerely,<br
/> sreekar</p> ]]></content:encoded> </item> <item><title>By: Rajesh</title><link>http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-148926</link> <dc:creator>Rajesh</dc:creator> <pubDate>Fri, 12 Jun 2009 06:28:52 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-148926</guid> <description>HI Vivek,
Your article on SSH is very nice.  It very helpfull for us.
Keep  doing the great work
Regards,
Rajesh</description> <content:encoded><![CDATA[<p>HI Vivek,</p><p>Your article on SSH is very nice.  It very helpfull for us.</p><p>Keep  doing the great work</p><p>Regards,<br
/> Rajesh</p> ]]></content:encoded> </item> <item><title>By: hari</title><link>http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-148752</link> <dc:creator>hari</dc:creator> <pubDate>Fri, 29 May 2009 07:49:16 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-148752</guid> <description>Hi,
Please  run # passwd -d login_name  for each user and
then check.
regards
hari</description> <content:encoded><![CDATA[<p>Hi,</p><p>Please  run # passwd -d login_name  for each user and<br
/> then check.</p><p>regards<br
/> hari</p> ]]></content:encoded> </item> <item><title>By: sandip</title><link>http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-148268</link> <dc:creator>sandip</dc:creator> <pubDate>Thu, 23 Apr 2009 07:04:05 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-148268</guid> <description>hi
i hav did as u mentioned abow but it wont  work it is asking for the passwd</description> <content:encoded><![CDATA[<p>hi<br
/> i hav did as u mentioned abow but it wont  work it is asking for the passwd</p> ]]></content:encoded> </item> <item><title>By: Tricky</title><link>http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-148132</link> <dc:creator>Tricky</dc:creator> <pubDate>Wed, 15 Apr 2009 18:13:05 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-148132</guid> <description>Lol. Came back here to figure out how I did that thing ^^ before. :D
... and realised I hadn&#039;t explained properly:
the authorized_keys2 file can contain multiple keys. By using scp, you might overwrite any previously-placed keys with a single key. By appending (using the &gt;&gt;) you specifically add your key to the end of the authorized_keys2 file and you won&#039;t lose any previous keys.</description> <content:encoded><![CDATA[<p>Lol. Came back here to figure out how I did that thing ^^ before. :D</p><p>&#8230; and realised I hadn&#8217;t explained properly:<br
/> the authorized_keys2 file can contain multiple keys. By using scp, you might overwrite any previously-placed keys with a single key. By appending (using the &gt;&gt;) you specifically add your key to the end of the authorized_keys2 file and you won&#8217;t lose any previous keys.</p> ]]></content:encoded> </item> <item><title>By: Brendan</title><link>http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-145299</link> <dc:creator>Brendan</dc:creator> <pubDate>Sat, 18 Oct 2008 12:51:30 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-145299</guid> <description>Regarding using scp to copy is_rsa.pub into authorized_keys2, I don&#039;t believe this to be a good idea if there is any chance that you need more than one user or public key to have access to the server.
In this case, rather do the following:
ssh vivek@rh9linux.nixcraft.org &quot;cat &gt;&gt; .ssh/authorized_keys2&quot; &lt; .ssh/id_rsa.pub
This will pipe the public key through the ssh session and append it to the existing file if it exists. Otherwise it will create the file with the contents of your id_rsa.pub</description> <content:encoded><![CDATA[<p>Regarding using scp to copy is_rsa.pub into authorized_keys2, I don&#8217;t believe this to be a good idea if there is any chance that you need more than one user or public key to have access to the server.</p><p>In this case, rather do the following:<br
/> ssh <a
href="mailto:vivek@rh9linux.nixcraft.org">vivek@rh9linux.nixcraft.org</a> &#8220;cat &gt;&gt; .ssh/authorized_keys2&#8243; &lt; .ssh/id_rsa.pub</p><p>This will pipe the public key through the ssh session and append it to the existing file if it exists. Otherwise it will create the file with the contents of your id_rsa.pub</p> ]]></content:encoded> </item> <item><title>By: Shankar</title><link>http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-145035</link> <dc:creator>Shankar</dc:creator> <pubDate>Wed, 17 Sep 2008 16:39:25 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html#comment-145035</guid> <description>Hi Vivek,
In your step 3 as below. It will prompt for the password of user vivek on  rh9linux.nixcraft.org to complete the copying of the public key.
$ scp .ssh/id_rsa.pub vivek@rh9linux.nixcraft.org:.ssh/authorized_keys2
Is there any method by which I can pass this value non-interactively.
Thanks
Shankar</description> <content:encoded><![CDATA[<p>Hi Vivek,</p><p>In your step 3 as below. It will prompt for the password of user vivek on  rh9linux.nixcraft.org to complete the copying of the public key.</p><p>$ scp .ssh/id_rsa.pub <a
href="mailto:vivek@rh9linux.nixcraft.org">vivek@rh9linux.nixcraft.org</a>:.ssh/authorized_keys2</p><p>Is there any method by which I can pass this value non-interactively.</p><p>Thanks<br
/> Shankar</p> ]]></content:encoded> </item> </channel> </rss>
