#4 Setup SSH Authentication using Git Bash on Windows – Virtualmin tutorial on Debian 10



Setup SSH Authentication using Git Bash on Windows – Virtualmin tutorial on Debian 10

Setup SSH keys and log into your Linux server.
Generate SSH key.
Add public SSH key to server – Linux server, specifically Debian 10.

Use this video if you want to setup SSH key authentication for any Linux server.

Setting up SSH key Login using Git Bash on Windows.

USEFUL LINKS / Resources

– Vultr VPS : https://bizanosa.com/vultr

– Debian 10 Server setup post: https://bizanosa.com/debian-10-initial-server-setup-vps-vultr/

– Linux/Mac Setup SSH Authentication : https://bizanosa.com/generate-ssh-keys-linux-server/

– Setup SSH Authentication Via Git Bash : https://bizanosa.com/ssh-authentication-using-git-bash/

– On Windows, Setup SSH Authentication via Puttygen & Putty : https://www.youtube.com/watch?v=7wIHBPzBx-A

– Full Virtualmin Tutorial Playlist : https://www.youtube.com/watch?v=NTQREVEcBb4&list=PLhhBJ0l9FKMOHUhWkKGL_R2-dfq4Ws_K0&index=1&ab_channel=RickyWahowaRickyWahowa

– 2 Ways to handle DNS : https://youtu.be/x_utMtySDcI

– About Child Nameservers : https://youtu.be/OpVxTJOlTu4

In the last video, you saw how to set up a sudo user. An admin user with root privileges.
In this video let’s see how you can set up SSH authentication using git bash. I’m on windows that’s why I’m using Git Bash, but even if you’re on Linux or on a Mac you can still follow along with this. But as I told you in the last video, there’s another post that you can follow if you’re on Mac .

If you’re on a Mac, just come down to this part where it says SSH key authentication. The link for this is in the description, and click there and this is going to take you to this page and on this page you can set up ssh key for any Linux computer.

Let’s see how we can set up the same for our Debian. And I will be using Git Bash . As I said, if you don’t have git Bash, you can download git and it is going to come with git bash. And I showed you that in a previous video. Just download git and it’s going to come with git bash, git cmd and git gui.

Here are the steps of what you’re going to do. Of course install Git. You can download git and then we’ll generate the key pairs.

Since I’m on Windows, the first thing I want to do is, I want to go to my home directory, and on the home directory, there is an SSH folder. And inside of that folder I’m going to create another folder for this demonstration.

This method that I’ve illustrated in this video is a nice way for you to create multiple keys . So if you want to create multiple keys, this is the way for you to go. Okay?

Let’s go into my home directory. However you want to get to your home directory, if you’re in Windows you can always get to your home directory. You can just go to local disk and inside of users, whichever user, that is your home directory. For me that is also my home directory. okay.

So that is your home directory and you can see for me even hidden files, even hidden folders are being shown. If your hidden folders are not being shown, just come here under view. I think it’s under view. Then you go into options and then view again and hidden files and folders, show hidden files and make sure you select that. If you don’t have hidden folders showing up, make sure they are visible.

For me I want to go here inside of ssh and let me create another sample, ctrl shift N . And I want to call this, let’s call this virtualmin. You can see that this is a really nice way because you can group all your different ssh keys in different folders.

If you do any default method that most people show online you won’t be able to do this. So just make sure you follow either of my posts. It’s going to show you how you can log in even once you create multiple ssh keys. My ssh keys that I’m going to generate are going to be inside here. okay . So that’s the first step. Make sure that you have this dot ssh visible on your home directory in windows. Okay .

That’s the first step. I have created the folder. And you can see that in this post what I did is, I did change directory. So cd is a way for you to change directory into this folder. For me if I was following this method I would have to ssh into the virtualmin folder that I’ve just created, and that’s going to ensure that I don’t have to add the path every time I want to do anything here.

.

If this video was helpful to you, please consider supporting my channel : https://paypal.me/rwahowa
.
GET SOCIAL WITH ME:
FACEBOOK: https://www.facebook.com/rwahowa/
INSTAGRAM: https://www.instagram.com/rwahowa/
TWITTER: https://twitter.com/rwahowa/
VIMEO: https://vimeo.com/bizanosa/
WEBSITE : http://rwahowa.com

source

Leave a Comment

Item added to cart.
0 items - KSh0.00