<?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 Use SSH in Unix or Linux shell script</title> <atom:link href="http://www.cyberciti.biz/faq/how-to-use-ssh-in-unix-or-linux-shell-script/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq/how-to-use-ssh-in-unix-or-linux-shell-script/</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 10 Feb 2012 19:55:56 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Anonymous</title><link>http://www.cyberciti.biz/faq/how-to-use-ssh-in-unix-or-linux-shell-script/#comment-60040</link> <dc:creator>Anonymous</dc:creator> <pubDate>Thu, 16 Jun 2011 10:32:29 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-to-use-ssh-in-unix-or-linux-shell-script.php#comment-60040</guid> <description>You can try replacing &quot; ssh $USR@$host w &gt; $OUT&quot;  with  &quot; ssh -t -t -l $USR $host w &gt; $OUT&quot;</description> <content:encoded><![CDATA[<p>You can try replacing &#8221; ssh $USR@$host w &gt; $OUT&#8221;  with  &#8221; ssh -t -t -l $USR $host w &gt; $OUT&#8221;</p> ]]></content:encoded> </item> <item><title>By: ccb</title><link>http://www.cyberciti.biz/faq/how-to-use-ssh-in-unix-or-linux-shell-script/#comment-40934</link> <dc:creator>ccb</dc:creator> <pubDate>Sat, 28 Mar 2009 01:40:03 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-to-use-ssh-in-unix-or-linux-shell-script.php#comment-40934</guid> <description>@ krishna kumar
@ Nilesh
PHP isn&#039;t necessary — you can generate public/private keys per user/host you wish to connect to and avoid passwords altogether, allowing you to fully automate your ssh connections.
Google &#039;ssh without password&#039; and you&#039;ll find plenty of tutorials on this process.</description> <content:encoded><![CDATA[<p>@ krishna kumar<br
/> @ Nilesh</p><p>PHP isn&#8217;t necessary — you can generate public/private keys per user/host you wish to connect to and avoid passwords altogether, allowing you to fully automate your ssh connections.</p><p>Google &#8216;ssh without password&#8217; and you&#8217;ll find plenty of tutorials on this process.</p> ]]></content:encoded> </item> <item><title>By: Nilesh</title><link>http://www.cyberciti.biz/faq/how-to-use-ssh-in-unix-or-linux-shell-script/#comment-36755</link> <dc:creator>Nilesh</dc:creator> <pubDate>Tue, 21 Aug 2007 12:02:39 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-to-use-ssh-in-unix-or-linux-shell-script.php#comment-36755</guid> <description>Yes, you can login to server using SSH by hardcoding
. For this you have to use php.
Php provides expect module to ssh login.</description> <content:encoded><![CDATA[<p>Yes, you can login to server using SSH by hardcoding<br
/> . For this you have to use php.<br
/> Php provides expect module to ssh login.</p> ]]></content:encoded> </item> <item><title>By: krishna kumar</title><link>http://www.cyberciti.biz/faq/how-to-use-ssh-in-unix-or-linux-shell-script/#comment-21022</link> <dc:creator>krishna kumar</dc:creator> <pubDate>Wed, 28 Mar 2007 06:20:08 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-to-use-ssh-in-unix-or-linux-shell-script.php#comment-21022</guid> <description>i want to know whether i can login to a sever using SSH by  hardcoding the user name and password in my unix script.
expecting your replay soon.</description> <content:encoded><![CDATA[<p>i want to know whether i can login to a sever using SSH by  hardcoding the user name and password in my unix script.</p><p>expecting your replay soon.</p> ]]></content:encoded> </item> <item><title>By: Sriram</title><link>http://www.cyberciti.biz/faq/how-to-use-ssh-in-unix-or-linux-shell-script/#comment-72</link> <dc:creator>Sriram</dc:creator> <pubDate>Thu, 07 Sep 2006 05:35:39 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-to-use-ssh-in-unix-or-linux-shell-script.php#comment-72</guid> <description>When I try to Authenticate via SSH using a Script , I get
The script is the same :
Pseudo-terminal will not be allocated because stdin
is not a terminal.
I tried using -t and -T switch both on and off.
Suggest if you have any better Ideas
Many Thanks
Sriram</description> <content:encoded><![CDATA[<p>When I try to Authenticate via SSH using a Script , I get</p><p>The script is the same :</p><p>Pseudo-terminal will not be allocated because stdin<br
/> is not a terminal.</p><p>I tried using -t and -T switch both on and off.</p><p>Suggest if you have any better Ideas</p><p>Many Thanks<br
/> Sriram</p> ]]></content:encoded> </item> </channel> </rss>
