I would like to be able to use the scp command from the device to my desktop, which has a webdav mount to the server where I’m uploading data, without manually typing in my desktop’s password every time. I can go the other way, desktop to device, and that’s made my life easier.
I followed the procedure on the following website to generate a RSA key pair: http://www.madboa.com/geek/openssl/.
After generating the RSA key, I generated the public key and copied it to the following file on my desktop: ~/.ssh/authorized_keys. Despite doing this, I keep getting a password prompt when I try the scp command.
The reason I’m doing this is to help automate testing. I have a battery of tests I’m running on the device using Junit and I would like to incorporate the scp command to access the server files on my desktop.
Appreciate the help.
Ian