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 [EMAIL PROTECTED] (with password)
3. on remote_host rename new_key.pub to ~user/.ssh/athorized_keys

when i try:
# scp [EMAIL PROTECTED]:/files/file file

i get password prompt...

what am i missing?!?

thanks....
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to