In this tutorial you will learn how to limit the users who can connect through SSH on Ubuntu Server.
Code used during this tutorial:
1 2 3 4 5 |
# Limiting the users who can connect through SSH sudo vi /etc/ssh/sshd_config AllowUsers liviu.balan liviu sudo service ssh restart |