• Now's your chance win big! Join our community and get entered to win a RTX 2060 GPU, plus more! Join here.

    Meet Stan Dmitriev of SurrogateTV on the Pi Cast TODAY! The show is live August 11th at 2:30 pm ET (7:30 PM BST). Watch live right here!

    Professional PC modder Mike Petereyns joins Scharon on the Tom's Hardware Show live on Thursday, August 13th at 3:00 pm ET (8:00 PM BST). Click here!

Question Using PuTTY to SSH into Raspberry Pi 4 while connected through a switch

matthew91298

Honorable
Dec 4, 2014
6
1
10,510
0
Here's my setup
Raspberry Pi 4, 4GB - Running headless
San Disk 64 GB EVO Plus with Rasbian Buster Lite distro
TP Link 5-Port 10/100Mbps Desktop Switch
Ethernet cables in my desktop and pi

I've searched a bunch of forums and can't seem to find a solid answer to the problem I'm having so hopefully I can spell it out here and get some help. The long and short of it is that I'm trying to SSH into my Pi 4 using PuTTY and I'm getting a weird error message. To set up, I put Rasbian Lite onto my SD card and added the ssh file to the boot directory. Then, I go to PuTTY, connect to 'raspberrypi.local' on port 22, and I get the prompt for 'login as: ' but when I type 'pi' I get the following error message:

"No supported authentication methods available (server sent: publickey)"

If anyone knows a solution to help me out it would be much appreciated!
 
Last edited:

matthew91298

Honorable
Dec 4, 2014
6
1
10,510
0
Whoops, definitely been using 'pi' just wrote it wrong in the question. And I have the IP from a ping to raspberrypi.local , tried that and it didn't work either, same issue
 

matthew91298

Honorable
Dec 4, 2014
6
1
10,510
0
Interesting new find, adding the ssh file to the boot from desktop is fine. I plug the SD card into the pi, can't connect, move the SD card back to the desktop and ssh is gone
 

ASK THE COMMUNITY

TRENDING THREADS