You wrote that you changed the port but it shows it connecting in port 22.Greetings, this is my first post on this forum, and its a doozy.
I am having problems with ssh. The following is what I have done, pretty much in the order I did it.
- First off I gave the raspberry pi a static address (on the router)
- I installed pi OS on an SD card
- Then I Locked down the RPi 4 by using a pub, private key, changing the port SSH operated on, disabling root login and disabling user/password logins.
- I installed and started the UFW firewall
- I installed docker.
- Then I wanted to checkout a RPi 5 so I disconnected the Pi 4 and flashed an RPi 5 and turned it on.
- I tried to ssh into the RPi5 and could not do it.
- I deleted the pub/private key thinking that maybe that was the reason I couldnt login
- I then deleted the static address record on the router and tried again to ssh in..... NO JOY
- I am now in a the situation where I cant ssh into any of my RPi's
- Ideally I want to be able to have multiple RPis running headlessly on my wifi. How do I do this??
To give you guys a look at what is going on, I ran SSH with the -v flag
PS C:\Users\ozjoh> ssh -v 192.168.20.14
OpenSSH_for_Windows_8.6p1, LibreSSL 3.4.3
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug1: Connecting to 192.168.20.14 [192.168.20.14] port 22.
debug1: Connection established.
debug1:
Statistics: Posted by memjr — Thu Jan 18, 2024 11:32 pm