Adding user in ssh
by Sanju[ Edit ] 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