SSH Keys | Adding an SSH key to a Raspberry Pi

preview_player
Показать описание
In this lesson, we're going to create an SSH key so that we don't have to enter our password every time we want to transfer code or control the pi.

This is the sixth in a video series about how to get started making things with a raspberry pi. It is targeted at existing developers but will be helpful to you no matter what your background is.

🔗Entire Series

🔗Moar Links
Рекомендации по теме
Комментарии
Автор

Good walkthrough, but it'd be worth mentioning that if you do add a passphrase for the ssh, you will be promted that for each log in. So in that case you are just making your logon more secure (ssh key+password), but you will still need a password for each login. You can however change or remove it with the ssh-keygen -p command.

thefoldp
Автор

Cannot tell you how great this was. Just the perfect amount of detail, not too much. Got straight to the point!

ReidMewborne
Автор

Really liked that you explained what these commands and settings do, that helped alot. :) . I have watched other videos befor I came to this one, and noone else did a job as good as you.
The only thing I was missing is maybe explaining why someone would want to use a passphrase / what it does. And how to deaktivate PasswordAuthentication on the pi.
Still a really good video. Just what I needed!

ChromeBreakerD
Автор

Helped me out tremendously as I was stuck and frustrated.

Xantx
Автор

This whole miniseries was great... thanks!

progtom
Автор

It works for my laptop, but my main computer can log into my pi without the key.. hm.. It seems I've only raised the security if the attacker was coming in from my own laptop lol.
Shouldnt my pi be requiring the private key?

daurham
Автор

'ssh-copy-id' is not recognized as an internal or external command. This doesn't work on windows

malcolmlewis
Автор

SSH has given me so much trouble for a while

shadokin
Автор

Me again with another question/problem: I opened up my Windows Command prompt to follow along and when I entered "ssh-copy-id etc..." I got the error that "ssh-copy-id" is not recognized as an internal or external command. Again, if you have any guidance, it is much appreciated.

ayelaii
Автор

Thankyousomuch! you put me out of misery thnks!!!

Harshitchhabraaa
Автор

Hi Sam! Thanks for the great video. I am planning to do parallel SSH to 5 pi's that i have to run a python script. Does it mean that i have to create SSH key for each of the pi I have before running PSSH? thanks!

wowthatsveryawesome
Автор

Im having touble I did all the steps but on the last one, it keeps requesting me to enter a password even after I made the config file. I then disabled password authentication so now it just says permission denied. (I am on windows) I think its a problem with the config file but I'm not sure what to fix because I do not want to add the extra file path everytime I want to ssh into my pi

SebastianP_
Автор

can you create video how to put ssh key while no access to pi with 64 bit OS, for me when I use pi imager with 32 bit and preset password it works. But 64 bit always access denied. I assume there is issue with 64 bit. So Probably it can resolved if we can preload ssh key on 64 bit os directly modify sdcard boot system.

next
Автор

Great video Thanks heaps
Only problem I found is Windows 10 doesn't have a 'ssh-copy-id' command available but it's no bother to open the public file in a text editor and copy it to a raspberry pi

rossbyrne
Автор

Hello, is that preventing a hacker or a bot to open ssh with username and password?

lenkapolaskova
Автор

2.5 hrs the whole ssh-copy-id just didnt work for me just had to ctrl Z. tried to ssh intp the Pi and for some reason its now working <scratches head> <sigh> oh the ZX81 days where sooo much easier ....

pkeiths
Автор

How to add Authenticate to ubs in pi ?!

maged
Автор

Oops Sorry I should have read previous comments :-)

rossbyrne
Автор

Hello, do you have paid developer services? If there is, can you send the email?

ferasawwad