![]() You will log in using a identity file instead of using username-password combination.Īt first you need to generate a so-called key pair on the client machine (the machine you will use to log in to the server you just installed). It is a good idea to disable password logins and enforce key-based instead. ![]() ![]() Restart the SSH server daemon to apply changes: sudo service restart ssh Key-based authentication Following example will allow foo to log in and block bar and tux. You can manually specify which users will be able to log in. It will work out of the box, but I recommend doing some more steps to enhance the security of the ssh server, especially if it is exposed to the internet. If didn’t choose to install the ssh server during system installation, you can install the server with the following command: sudo apt install openssh-server
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |