The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 03-11-2009
PSDba PSDba is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 4
Question 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