$ adduser
- enter a temporary password
- enter other details
To provide SSH access to user, add the username in sshd_config file
$ vim /etc/ssh/sshd_config
go to the line saying 'AllowUsers' and add user
AllowUsers root
restart the sshd daemon
$ /etc/init.d/ssh restart
CHECK:
Login using the username and password, to check whether is works
ERROR:
- check the log file in /var/log/auth.log
No comments:
Post a Comment