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 -->
  #3 (permalink)  
Old 03-12-2009
PSDba PSDba is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 4
Question Followup on permissions and settings.

Thanks Corona688. I have verified that the permissions are set the same on the remote machine meaning I have machine a (local) and machine b remote. I have user 1 on a and b and user 2 on machine b. I am able to ssh from a to b as user 1 without a password prompt. When I try to ssh from a to b as user 1 to user 2 I am prompted. I have entered the pub key of user 1 from a to the authorized_keys file of user 2 on b. The permissions on the directories and files are the same for each user 1 and 2 on b.

I did try an ssh with the -v option and the first thing it checks is the /etc/ssh/ssh_config file on machine a. The entries for RSAAuth and PubkeyAuth are not in that file, but are in the file on machine b. In other words do the permissions have to be reciprocal?

Anyway I appreciate your help! BTW Corona688 I am originally from Regina!! Small world, eh.