How to use SCP from device to desktop without password
- This topic has 0 replies, 1 voice, and was last updated 11 years, 5 months ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
Home › Forums › MultiConnect OCG › How to use SCP from device to desktop without password
Tagged: scp
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