If you want to securely log into your Linux computer remotely, you will want to install the open-ssh server on it. Here are the steps:
- Install the software: by typing
sudo apt install openssh-server
- Configure the server editing the
/etc/ssh/sshd_config
file. (Note: save a backup copy of it first.) - Restart the server with the new settings by typing
sudo service sshd restart
- Limit the users who can log in with the
AllowUsers <user list>
option - Force secure key encrypted access by preventing password access with the
PubkeyAuthentication yes
andPasswordAuthentication no
options
sshd_config
file.12 / 2019