scp
Jay Chandler
lists at sequestered.net
Wed Oct 22 19:09:26 PDT 2008
On Oct 22, 2008, at 6:40 PM, kalin m wrote:
> hi all...
>
> i need to do a script to copy a file from a remote machine via scp
> with a key and without a password....
>
> here is what i'm doing:
>
> 1. ssh-keygen -t rsa
> 2. scp new_key.pub to user at remote_host (with password)
> 3. on remote_host rename new_key.pub to ~user/.ssh/athorized_keys
>
Should be authorized_keys.
I usually cheat and grab a copy of ssh-copy-id from the web; I suspect
your issue has to do with permissions for the .ssh directory and the
authorized_keys file.
--
Jay Chandler / KB1JWQ
Living Legend / Systems Exorcist
Today's Excuse: Budget cuts
More information about the freebsd-questions
mailing list