How to Connect To Linux (CentOs 7) Using SSH Keys (Password free authentication) from Windows

preview_player
Показать описание
This video shows how to log into a CentOs 7 server from a Windows machine using SSH keys. The video will show you how to generate the keys using Putty and then how to configure your CentOS 7 Server to allow you to authenticate into the server.

The commands that you need to follow along with the tutorial are:

sudo mkdir ~/.ssh
sudo chmod 700 ~/.ssh
sudo vi ~/.ssh/authorized_keys
sudo chown YourUserName:YourUserName ~/.ssh -R
sudo chmod 600 ~/.ssh/authorized_keys
Рекомендации по теме
Комментарии
Автор

After 3 hours of testing many tutorials this the simplest tutorial of all I found and the only worked for me. Wow ! I'm impressed and many thanks !! :D

Makinou
Автор

This is exactly what I was looking for. Thank you.

mudithasandun
Автор

Nice clear, simple instructions. Thanks!

mgpowis
Автор

Simple and nicely explained, Thanks for the great video

RifaiRahmanM
Автор

well, this guide doen't explain anything, but it worked perfectly.

fcot
Автор

Followed it and Im having an error "Server refused our key
" Any thoughts?

gwiyaomingyaoming
Автор

Hello, excellent video, a consultation, what protocol do you connect with at minute 1:41?

JuanChehin
Автор

Exactly what I needed. Thank you very much!

jeffersonsantos
Автор

2021:

This helped me with an issue I was having where server was not accepting my key. Thanks a lot @Darren

ClipTG
Автор

not all heroes wear capes...thanks u so much ...u make my day

beroalhaj
Автор

Thank you soo much finally a video that worked

luka
Автор

I put a passphrase, somehow it tells me server refused our key.. I dont know why.

LeagueofBread
Автор

what about if you want to add the public key into a windows pc, how to do it?

ralunger
Автор

Server refused our key. I tested with root user and sudo user, no one working. what can happen?

leonlwd
Автор

Server refused our key,
what can happen?

diegohurtado