Linux/Mac Tutorial: SSH Key-Based Authentication - How to SSH Without a Password

preview_player
Показать описание
In this Linux/Mac terminal tutorial, we will be learning how to configure ssh keys so that we can login to our servers without a password. Not only is this more convenient, but it is also more secure. This also allows us to write automated scripts to talk to our servers without the need of putting in passwords constantly. Let's get started.

How to Create a Network of Machines in VirtualBox with SSH Access:

✅ Support My Channel Through Patreon:

✅ Become a Channel Member:

✅ One-Time Contribution Through PayPal:

✅ Cryptocurrency Donations:
Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot

✅ Corey's Public Amazon Wishlist

✅ Equipment I Use and Books I Recommend:

▶️ You Can Find Me On:

#Linux #Mac
Рекомендации по теме
Комментарии
Автор

Well Explained. As a developer, it was bit difficult to understand others tutorial. Keep up the good work.

naavu_neevu
Автор

You have this special quality to explain things with simplicity.. Be it git or linux or python. I just enjoy your videos. A massive yes to your videos because you show hands on and not just theory. Awesome beyond Awesomeness

chetansharma
Автор

Simple, Clear and Short video about SSH. Just just nailed it. Awesome job!!

kalyanhr
Автор

FINALLY - I have been messing with opening a dynamic tunnel from a linux machine TO a Mac for hours now. This tutorial (while backwards) was what I needed. Thanks Corey.

IcarianVX
Автор

The way I remember is that the public key is like the lock on the door that everyone can try their private keys on, but only your private key will actually open the lock.
Copying the Public key is just installing the lock on the door on the server, that only your private key can open.
Great video btw!

DannyDaDane
Автор

This one's the winner! Great video, very helpful, thank you.

baldmike
Автор

Extremely clean and direct information. This soluton worked for me at the first trial! Thanks for taking the time to do this video.

pauloferreira
Автор

I''ve looked 4-5 videos on how to do that, maybe I'm dumb asf but none helped me.
Your video was crystal clear and it instantly worked, thanks

BlancheNuit
Автор

As always, Corey explained the usage in a manner that is easily understood. I was stumped by the official SSH documentation because it doesn't clearly indicate which machine to copy the public key over to. Thank you Corey.

randmssolutions
Автор

The quality and execution of this is so spot on to a tee - even 5 years old, this is golden content, thank you so much!

kmontoya
Автор

This is by far the best and clearest explanation of how to implement k-b-a.
I have used keys for a while but never fully understood the details.
Thanks for this great tutorial Corey

geoptus
Автор

Short and sweet. I understood very clearly. awesome teacher. Waiting for more videos like this...

mamusthafa
Автор

Amazing tutorial. Concise and to-the-point!

ayan
Автор

Thanks for this video, way more practical and informative than the others I found!

bcross
Автор

Finally a simple tutorial, it's not all that hard you know... Thank you!!

muijnckj
Автор

As always: Perfect explained. Great vid !

w.schobel
Автор

Holy shit thank you, I was trying to ssh into my ubuntu server through windows 11 and I knew it was way simpler than I was putting it out to be. Great and easy tutorial :)

ohtobetiramisu
Автор

Genuinely, very clear demonstration, rarely one can find as perfect as this

mattiylen
Автор

Yes! It makes sense to me now. Public key goes on the remote server in the authorized_keys file, it was so helpful to see this being done. THANK YOU!

skyhackerfpv
Автор

Great tuturial! Works on Windows to Linux too. If you use powershell the commands will be the same, just you have to type out your home directory manually when doing the scp instead of ~

zax