SSH login for normal users using authorized keys

Pete Nesbitt pete at linux1.ca
Tue Nov 23 04:06:07 UTC 2004


On November 22, 2004 06:04 am, Jithesh wrote:
> Hi all,
>
> I was able to create successful login for the root account from a remote
> client with the help of the public key and the authorized key. But when
> I tried to do it for a normal account it still asks for the password.
>
> Here is what I have done
> 1. Generated the public key in the client machine.
> 2. Copied the same into the server's normal user account's
> ~/.ssh/authorized_keys
> 3. Changed the permission to read only for the file authorized_keys
>
> I did the same thing for the root account and it worked but not or other
> users.
>
> --
> Jithesh <jitzpop at hotpop.com>

Hi,
I have a couple related docs at "www.linux.ca -> Documents"
  http://nesbitt.yi.org/howto.shtml

SSH/SCP via Key Authentication HOWTO
Limiting SSH Access

hope that helps
-- 
Pete Nesbitt, rhce




More information about the redhat-list mailing list