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 > Special Forums > Security
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 05-29-2009
migurus migurus is offline
Registered User
  
 

Join Date: Sep 2008
Location: US
Posts: 49
Quote:
Originally Posted by Padow View Post
One thing I would do from the start is make sure that the .ssh directory and autorized_keys files are owned by the user. Looks like one of them is owned by 1, and the other by 2.

-----Post Update-----

Also, make sure there are no line breaks in the authorized_keys file from copying and pasting.

Well, this is just "l -g" format, 1 and 2 are not user id, the user id is definitely same target_user.

-----Post Update-----

Quote:
Originally Posted by wireonfire View Post
On my setup, I copied it to authorized_keys2 (note the difference in filename). I always use root account and there is a password (so a little different from yours).
I copied authorized_keys to authorized_keys2 and result is the same.