Setup SSH key authentication login for your linux server.
SSH Configuration post : bizanosa.com/generate-ssh-key...
In this post you’ll setup SSH keys for your server. You will setup SSH Key authentication so that you can log in via your Private and public Key.
Feel free to follow along with any Linux distro.
The steps of what we’ll do :
Generate SSH keys on our Local Linux / Mac computer
Copy our public key onto the Server
Test if we can log in via the SSH key pair
Disable root login and password Authentication.
Before continuing with this post, ensure you create a new Sudo user on your Linux server.
If you are using Windows, watch this video which will show you how to generate and enable SSH key pair login into your Linux Server.
Take Note :
You can generate the keys using default options whereby, the name of the keys will be the default names ( id_rsa & id_rsa.pub ) and their location will be the default location (.ssh) . Use this if you only have one server to manage or if it is your first server. For the purpose of this post,We’ll call this , Default generation of keys .
You can also change settings for where to store and how to name the keys. This is better because you can create multiple ssh key pairs for different users or servers. For the purpose of this post we’ll call this , Custom generation of keys.
In this post I will show you how to handle both scenarios, starting with default generation of keys.
The playlist links for this Cyberpanel Tutorial Series
[Windows] Cyberpanel Tutorial Playlist for Windows Users: • Free CyberPanel Tutori...
[linux Mac] Cyberpanel Tutorial Playlist for Linux/Mac users : • Free CyberPanel Tutori...
How do I find my SsH keys and get them to work?
This video is a step by step guide that will show you how to generate keys, find them and use them to log into your server.
On a Linux computer or a mac, your SsH keys are stored in a hidden folder called .ssh .
This folder is available on your local computer and on the server as well.
.
If this video was helpful to you, please consider supporting my channel : paypal.me/rwahowa
.
GET SOCIAL WITH ME:
FACEBOOK: / rwahowa
INSTAGRAM: / rwahowa
TWITTER: / rwahowa
VIMEO: vimeo.com/bizanosa/
WEBSITE : rwahowa.com
15 сен 2020