From: unbewusst.sein@... (=?ISO-8859-1?Q?Une_B=E9v?= =?ISO-8859-1?Q?ue?=) Date: 2008-07-22T23:54:31+09:00 Subject: Re: interacting with a shell script (ssh) Sandor Sz�cs wrote: > > Login without sending a password over the network by use of public/ > private key > method. It's what i've done but working only when using ssh_agent. > Read wikipedia or other resources, there are really thousands > of good > ones. didn't see anyone explaining why key auth works with ssh_agent and not directly and also why, when logged as root it works directly. > > > may be there is another option for the passphrase not being the > > same as > > :password ? > > According to http://net-ssh.rubyforge.org/ssh/v2/api/index.html the > password > option is not used as passphrase to open your private key. > > # :password => the password to use to login > # :passphrase => the passphrase to use when loading a private key > (default is > nil, for no passphrase) ok, now i've catched this option... -- Une B�vue