Tulshekar Gangireddy proclaimed:
> I am using SSH to connect between two systems. I have to establish an
> ssh session between two systems. SSH asks for a password when i try to
> do so.  This password has to be passed to the ssh password prompt
> programmatically. Basically i want to avoid the user interaction for
> typing out the password at the prompt. This is to say that i want to
> automate the process of establishing an ssh session.


This is because you have configured ssh to use a pass phrase.  Run
'ssh-keygen -p', and when asked to type in a new pass phrase just type
return / enter.  You can now use ssh without the pass phrase.

WARNING!!!  Doing the above on a widely available machine is dangerous. 
Anyone who can break into your account can use it to log into other
machines.

Thaths
-- 
"Microsoft is a great company in reality. They've got a lot of really
smart people. When I was competing with them I didn't like them at all.
Now that I'm not, I kind of like them" -- Jim Clark
(http://www.cnetinvestor.com/newsitem-bloomberg.asp?symbol=94496655&Ticker=AOL)
Sudhakar C13n    http://www.aunet.org/thaths/    Lead Indentured Slave

----------------------------------------------------------------------
For information on this and other Linux India mailing lists check out
http://lists.linux-india.org/

Reply via email to