scp

kalin m kalin at el.net
Wed Oct 22 18:40:27 PDT 2008


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

when i try:
# scp user at remote_host:/files/file file

i get password prompt...

what am i missing?!?

thanks....


More information about the freebsd-questions mailing list