![]() Ideally you do this as soon as possible after setting up the server. One way of lowering the risk that this unwanted scenario happens is to generate and copy SSH key to server. As the administrator of the server, you want to prevent this nightmare scenario from happening at all cost. Their ultimate goal is to take control of your server. With each connection attempt, they try a different username and password, with the hope that they can login. Those with ill intentions can then run an automated script for continuously trying to gain access via SSH. This works fine, but what about security? For an Internet facing server, it is only a matter of time before someone determines its IP address and figures out that the server accepts SSH connections. ![]() Background infoĪfter setting up a Linux server with SSH access, you typically login by providing a username and password. ![]() Refer to this article for an example on how to setup a Debian based Linux server in VirtualBox. However, Debian is not a prerequisite because the commands are quite similar for other Linux distributions. The instructions provided in this article are written for a Debian PC that connects to a Debian server with SSH. At the same time it adds convenience for you, because it enables you to login without providing a password every time. Logging in by means of an SSH key pair increases security. This tutorial shows you how to generate and copy SSH key to server. Do you manage a remote server with SSH and do you login with a username and password? Then it is about time that you switch to an alternative method: one where you identify yourself with an SSH key pair.
0 Comments
Leave a Reply. |