In the previous tutorial, we showed you how to generate an SSH key pair. In this tutorial, we’ll show you how to use it to login. Assumptions In this tutorial: Your ssh key file is called “my-ssh-key”. The server is “myserver.example.com” and your user account there is “example”. SSH is running on port 22, the […]
Generating and Using SSH Keys, Part 1
Traditionally, authentication in Unix-based systems is done with passwords. This tests “something you know”. SSH keys offer a higher level of security by adding “something you have”- in this case, an SSH private key file. Even if an attacker was to guess your SSH passphrase, without the SSH private key file, this knowledge is […]