Welcome to WebmasterWorld Guest from

Forum Moderators: bakedjake

Message Too Old, No Replies

SSH connexion for user other than root?

12:20 pm on Feb 25, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Dec 7, 2003
votes: 0


I've recently configured a SSH key pair connexion between my server and PUTTY but it seems that this connexion was applied on the root user.

How can I create a key pair for a different user so that I can have PermitRootLogin turned off?

Thanks for helping!

1:14 am on Mar 4, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 12, 2002
votes: 0

The public part of your key needs to be stored in "~<username>/.ssh/authorized_keys" in order to use that key to authenticate as "<username>".