No password ssh connect to different user
I am trying to create a batch script to securely copy (scp or sftp) files from one machine to another. Unfortunately the files are owned by a different user than the one on my local machine.
I have already done a keygen and moved the public key to the authorized_users file of the user on the remote machine, but I can't get a connection without a password prompt. I had the SAs add the RSAAuthentication yes and Pubkey Authentication yes added to the /etc/ssh/ssh_config file too!
Any ideas?
Thanks,
Kevin
|