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

matthew91298

Honorable
Dec 4, 2014
6
1
10,515
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: