scp in a script with keys and passphrase
Chaim Rieger
chaim.rieger at gmail.com
Mon Aug 4 16:05:31 UTC 2008
Andrew Bacchi wrote:
> Put your public key in ~/.ssh/authorized_keys on the receiving end.
> That way no passwords are needed.
that does not apply here
he has a passphrase on his ssh key
need to use expect
however
i would generate a seperate key and use it just for scripts, that way
your co, ncoic, etc.... will all be happy when they see that your ssh
key still has a passphrase.
--
--
Chaim Rieger
More information about the redhat-list
mailing list