Quote (jpeters @ Sep. 22 2007,15:33) |
I'm experimenting with using scp to transfer files between two linux computers using a local connection (i.e., 192.168.1.xxx). I haven't found too much useful info on the procedure, but tried loading /usr/sbin/sshstart to generate some keys, and then tried "scp local_file 192.168.1.xxx:/remote_directory." This set up the remote computer as a known host, and then asked me for a password. I tried dsl, sudo su, su ...nothing worked. Next I tried "ssh_keygen -t rsa" to generate a key without a password, which I place in the remote computer's .ssh directory as "authorized_keys". This was supposed to eliminate the password request, but had no effect. Anyone have a good link for getting this working? Thanks EDIT: I just got this working by creating a password on the remote computer, and runing the scp script in root (also, putting the authorized keys file in /root/.ssh. I would welcome other ideas/info EDIT2: I deleted "authorized_files", since it doesn't appear to have any effect. |