How to Enable SSH on a Raspberry Pi (and connect via IP)

How to Enable SSH on a Raspberry Pi (and connect via IP)

Tony Teaches Tech

3 года назад

152,593 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Jensen Stanley
Jensen Stanley - 07.10.2023 07:10

Where is the cheat sheet

Ответить
Steey Rebel
Steey Rebel - 05.10.2023 06:08

You didn't even link the shit down in the description...

Ответить
D W
D W - 19.09.2023 23:08

Critical Note:
The command ssh-keygen -f - is not a command which effects anything within the Rapsberry Pi
(the system into which one wants to ssh)

Its affect is within the Client system.

In some cases this command will require higher permissions (aka operation denied)
In such case add sudo to the command.

Ответить
sachavez100
sachavez100 - 25.08.2023 22:23

This was a great tutorial. I followed all instructions an even linked to your website. However, I getting this error: Permission denied (publickey,password). I even reset my pw to something very simple so I wouldn't mistype. I can ping the Raspberry Pi, but cannot log in via SSH. Any ideas?

Ответить
Bonker
Bonker - 17.08.2023 23:52

C:\Users\myname>ping raspberrypi.local
Ping request could not find host raspberrypi.local. Please check the name and try again.

Ответить
Sammypokego
Sammypokego - 19.06.2023 14:29

how do i type in the password it is not working for me

Ответить
MiChaelinzo
MiChaelinzo - 15.06.2023 22:21

I can ssh in my raspberry pi yesterday but I have pihole working is this interfering?

Ответить
Rushabh .R
Rushabh .R - 25.05.2023 09:13

You need to create a new vid for the updated software for Raspberry PI

Ответить
Serge Ungureanu
Serge Ungureanu - 12.05.2023 01:05

pidazaz ibanii

Ответить
Mo Topiwala
Mo Topiwala - 11.05.2023 09:32

Quality Content! Succinct oration with a reassuring affect :D

Ответить
Daniel Lidén
Daniel Lidén - 01.05.2023 21:07

WARNING! THIS VIDEO IS OUTDATED BUT CAN STILL BE USED!
All you have to do is add a little thing. You will add the SSH file and the wpa_supplicant.conf file just as described in the video.
But after an update, it is now necessary to create a userconf.txt (just a normal textfile) and in the textfile enter this:
"pi:$6$/4.VdYgDm7RJ0qM1$FwXCeQgDKkqrOU3RIRuDSKpauAbBvP11msq9X58c8Que2l1Dwq3vdJMgiZlQSbEXGaY5esVHGBNbCxKLVNqZW1"
(be sure to not copy the quotes "")
After that, save the userconf.txt and then also put it in the boot directory (same as you put ssh and supplicant. Now you can continue to follow the video tutorial and everything will work out great!)
(IF YOU DON'T DO THIS, THEN YOU WILL GET PERMISSION DENIED WHEN YOU TRY TO ENTER "raspberry" AS THE PASSWORD!)

Ответить
Nick West
Nick West - 10.04.2023 22:34

By fate u just helped me ssh-keygen command priceless

Ответить
Andy Spark
Andy Spark - 09.04.2023 07:06

So, how do you establish SSH keys between host PC and the pi?

I've followed guides, but haven't got it to work yet. Can only login using SSH passwords.

Ответить
Shua Manory
Shua Manory - 19.03.2023 07:12

Im having a problem, it wont connect to wifi. I have a rasbpi 3, and I followed all the steps perfectly and even tried reflashing the os. nothing helps. what am I doing wrong? edit: I think the ssh and wpa files are getting deleted from the boot directory, pls help lol

Ответить
edwin barreto
edwin barreto - 19.03.2023 06:12

Very informative and easily explained! Thank you

Ответить
The GMRS Linked Network aka TGLN.
The GMRS Linked Network aka TGLN. - 29.01.2023 18:52

Thank you very much for the videos on this subject you have been a lifesaver.

Ответить
Hugo Rebelo
Hugo Rebelo - 13.12.2022 02:23

How does the raspbery conects to the internet before you make the login?

Ответить
Democrat Pro
Democrat Pro - 27.11.2022 03:50

False”church” of rome is satanic

Ответить
Nimble Co.
Nimble Co. - 19.11.2022 17:59

If you got a "denied" error when logging in like I did, this was helpful: Recently, the default user setup of Raspbian was significantly changed, rendering most existing online tutorials invalid.

In essence, the default pi user no longer exists, so you have to create it and set its password using either the official Imager tool or by creating a userconf file in the boot partition of your microSD card, which should contain a single line of text: username:hashed-password, replacing username with the name of the user you want (e.g., pi) and hashed-password with the hash of the password you want.

Ответить
Jose Portillo
Jose Portillo - 01.11.2022 04:16

Great video. Thank you

Ответить
imre m
imre m - 15.10.2022 12:10

in th new imager (10.2022) you can use the advanced options (small gear wheel bottom right) to set up WiFi - for SSH not sure if it's working

Ответить
dark_phoenix_953
dark_phoenix_953 - 02.10.2022 14:01

What must I do in the advanced settitng (Imager ctrl+shift+x) because it doesn't work

Ответить
Irish German
Irish German - 11.09.2022 13:15

$50 in 2020. In 2022 it's $140.

Ответить
Adil Constantine
Adil Constantine - 09.08.2022 23:32

Great tutorial, thank you!

Ответить
Dheerendra Dixit
Dheerendra Dixit - 07.07.2022 13:15

Hi when i am trying to enter the pass- for the pi like raspberry its denied can you help for the same

Ответить
Stefan Nikolic
Stefan Nikolic - 04.07.2022 06:03

This was perfect! Worked fantastic

Ответить
TDS Gamer
TDS Gamer - 11.06.2022 09:58

After typing the password it says permission denied please try again
What to do

Ответить
HenleyLive
HenleyLive - 24.05.2022 14:41

wheres windows version

Ответить
John Duggan
John Duggan - 08.05.2022 17:59

what sort of file would you use to create the ssh file if your on windows?

Ответить
Tom Bixler
Tom Bixler - 05.05.2022 22:20

any solution to the default password not working? Bought a new kit from canakit and raspberry password is not working for me.

Ответить
Anuranj
Anuranj - 02.05.2022 11:58

RPi and Laptop is in same n/w still it shows error ssh: connect to host <pi-ip> port 22: No route to host. Then I tried to ping that ip which gave o/p Destination Host Unreachable. I've confirmed it is in the same network using airodump-ng but in nmap scan, it didn't show up. Is there any fix?

Ответить
Sensance
Sensance - 22.04.2022 00:38

executed as described with a fresh installation but it shows me: permission denied

with pi@IPadress and pw: raspberry

Ответить
zuggrr
zuggrr - 14.04.2022 22:07

This is perfect ! Thank you

Ответить
Ali Sher Khan
Ali Sher Khan - 08.04.2022 16:23

Bro I get "access denied" after typing password. Can you help ?

Ответить
PSherman Art
PSherman Art - 03.03.2022 23:56

I tried copying the files using Windows explorer, and it looked like they copied, but when I refreshed they weren't there. Note that when I installed the image, it partitioned the SD card into two drives. Is that right?

Ответить
sachavez100
sachavez100 - 18.02.2022 07:00

This tutorial was very helpful. Thanks a ton.

Ответить
jonyboi21
jonyboi21 - 18.02.2022 06:29

What if the IP address changes...Can you do a demo on how to keep the same connection whether or not the IP has expired

Ответить
Malik Abba
Malik Abba - 17.02.2022 21:27

great tutorial, just here to mention that the official imager now has support to enable these without having to create these files

Ответить
ted
ted - 16.02.2022 17:01

why do you use pi@IP_ADDRESS to establish a connection? does "pi" represent the user we are using to log in?

Ответить
Dustin Rex
Dustin Rex - 09.02.2022 10:23

When I add my WiFi and Password, and try save with the :WP I get a file that says wpa_supp.swp.... not.conf? It wont let me delete or type over the -INSERT-

Ответить
Cash Wizard
Cash Wizard - 29.01.2022 12:50

10/10 video help me set up my raspberry pi that I was having trouble with. New sub too

Ответить
Dan F
Dan F - 27.01.2022 01:43

I like how he teaches

Ответить
Kew Na
Kew Na - 18.01.2022 12:33

Very detailed explanation video
I appreciate you for not using background music and as a beginner i learned a lot from this video.

Care to explain what ssh-keygen -R 192.168........... command does?

Ответить
dillon irwin
dillon irwin - 09.01.2022 04:16

Got it! Love this channel

Ответить
dillon irwin
dillon irwin - 09.01.2022 03:13

I enabled SSH. And configured the .CONF but when I try to ping it just says unknown host

Ответить
DaLatte God
DaLatte God - 29.12.2021 07:22

I’m getting an “Unknown Host” message every time I try to ping the pi?????

Ответить
Vito
Vito - 27.12.2021 20:04

how to ssh into rasberry pie that has the desktop view.

Ответить
uksuperrascal
uksuperrascal - 19.12.2021 18:25

My Wifi is to slow for my Pi Zero 2 W - I need to use the USB to Cat45 to get faster Internet Have you made a video ? I am using Ubuntu Studio 18.04 to set up the Pi OS. I can not get Imager to install via the install manager Can You Help ?

Ответить
Atum Music
Atum Music - 15.12.2021 23:16

help, i try ssh pi@(IP) and ssh pi@raspberry but it doesn't work... it shows that error: ssh: connect to host (IP) port 22: Connection refused

Ответить