Adding user in ssh

by Sanju 2009-10-31 20:05:49

Add user in ssh

To add user in ssh do follow the steps:

1. Login as root

2. Before adding user check whether the user is already present : http://hiox.org/index.php?id=1737

3. Do use the below command to add a user

useradd username


4. To set the password for the user use the below command

passwd username


5. It will ask for password. Just give the password for the username which you have created.

The user has been created.

> To allow user to access ssh : http://hiox.org/index.php?id=1551

> To disable root login : http://hiox.org/index.php?id=1738

> After that restart sshd.

/etc/init.d/sshd start



Tagged in:

1030
like
0
dislike
0
mail
flag

You must LOGIN to add comments