SSH login for normal users using authorized keys

Manuel Arostegui Ramirez manuel at todo-linux.com
Thu Nov 17 10:16:02 UTC 2005


El Jueves 17 Noviembre 2005 10:33, SysAdmin escribió:
> 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.
>
> Thanking You.
>
> Regards
>
> Sachin Khollam

Try ssh with -v -v -v that will give you more information.
Look at your sshd logs too

Cheers



-- 
Manuel Arostegui Ramirez #Linux Registered User 295750
Socio de Hispalinux 1813
Red Hat Linux 9, Kernel 2.6.2 ReiserFS
Firma  cifrada
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE+3O1MqfmPcHTj+twRAm
yDAJ9P6ezepIMg06vOet/YPKxVoB+Z/ACfWVhh
---END PGP SIGNATURE-----




More information about the redhat-list mailing list