Author
Message
k3067e3 DD-WRT Novice Joined: 18 Jul 2012 Posts: 15
Posted: Mon Jan 16, 2023 11:41 Post subject:
I have no clue, but on a Raspberry ssh is working to the router using user & password.
On a Rock64 with Debian Buster Armbian Linux, which had connection to the router before ssh is not working.
On my Windows PC with putty ssh is not working.
Even if it is with a hop in between I now have ssh connection
Back to top
Sponsor
ho1Aetoo DD-WRT Guru Joined: 19 Feb 2019 Posts: 2927 Location: Germany
Posted: Mon Jan 16, 2023 12:43 Post subject:
yes well just ignore what we have written
and as already mentioned you have to delete the fingerprint of the router from ~/.ssh/known_hosts if the client has connected before.
the easiest way to do this is with "ssh-keygen -R 192.168.1.1".
(with the correct IP address or hostname or you delete the known_hosts completely)
or if you have a server installation without ssh-agent then it works like this
assume the user is called ho1Aetoo
Code: # delete old router fingerpringt
ssh-keygen -R 192.168.1.1
# copy private key to ~/.ssh/id_ed25519.ssh
# change the file permissions
chmod 600 ~/.ssh/id_ed25519.ssh
chown ho1Aetoo:ho1Aetoo ~/.ssh/id_ed25519.ssh
# create ssh configuration
echo "IdentityFile ~/.ssh/id_ed25519.ssh" > ~/.ssh/config
# connect to the router
ssh root@192.168.1.1
alternatively, you can also specify the private key directly when connecting
Back to top
k3067e3 DD-WRT Novice Joined: 18 Jul 2012 Posts: 15
Posted: Mon Jan 16, 2023 13:16 Post subject:
Thank you guys for all your help.
I am such a Newbie with all this stuff.
Cleanup of Putty and WinSCP did the trick on the Windows machine.
ssh-keygen -R IP did the job on the Rock64
Today I learned something new.
For my usage in my local home network ssh with user / password is secure enough
Back to top
k3067e3 DD-WRT Novice Joined: 18 Jul 2012 Posts: 15
Posted: Mon Jan 16, 2023 13:19 Post subject:
But as a result I can tell you
Netgear R9000 with build DD-WRT v3.0-r51288 std (01/12/23) is working fine.
Im am using WDS AP, different Virtual APs, MAC Filter, OpenVPN Client with PBR, OpenVPN Server
DNS-O-Matic Update, DNS Override for a specific IP segment
Back to top