scp in a script with keys and passphrase
Nicholas G. Stamatakos
stamatakos.nick at usno.navy.mil
Mon Aug 4 16:40:21 UTC 2008
Thanks for the help. I took a look at expect and it seems like it might
work for me. I'll try it soon.
Nick
On Mon, 2008-08-04 at 09:05 -0700, Chaim Rieger wrote:
> 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
>
--
Nick Stamatakos
US Naval Observatory
3450 Observatory Circle, NW
Washington DC 20392
202 762 1518
stamatakos.nick at usno.navy.mil
More information about the redhat-list
mailing list