- Open the /etc/ssh/sshd_config file.
- # vi /etc/ssh/sshd_config
- Add an AllowUsers line at the bottom of the file with a space separated by list of usernames. For example, user tecmint and sheena both have access to remote ssh.
- AllowUsers david mark
- Now restart ssh service.
How to limit SSH User Logins? Print
- 0
Was this answer helpful?
Related Articles
How to Create Full backup for an account visa SSH
CPanel: Backup and Restore a Domain Account via SSHPlease Rate us Sometimes there is a need...
How create a backup of a MySQL database using SSH
Please Rate us
Log into your account on our server and issue the following command:...
mysql user with the name already exists. how to delete
Please Rate us Solving an issue of
Extracting tarball................... DoneExtracting...
Optimize and repair all mysql databases at once
There is a really handy MySql utility called mysqlcheck that allows you to do a number of...
How to disable SSH login for the root user?
Please Rate us
To disable root login, open the main ssh configuration file...