New Build - 01/12/2023 - r51288

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2
Author Message
k3067e3
DD-WRT Novice


Joined: 18 Jul 2012
Posts: 15

PostPosted: Mon Jan 16, 2023 11:41    Post subject: Reply with quote
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
Sponsor
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2927
Location: Germany

PostPosted: Mon Jan 16, 2023 12:43    Post subject: Reply with quote
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


Code:
ssh -i ~/.ssh/id_ed25519.ssh root@192.168.1.1
k3067e3
DD-WRT Novice


Joined: 18 Jul 2012
Posts: 15

PostPosted: Mon Jan 16, 2023 13:16    Post subject: Reply with quote
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
k3067e3
DD-WRT Novice


Joined: 18 Jul 2012
Posts: 15

PostPosted: Mon Jan 16, 2023 13:19    Post subject: Reply with quote
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
Goto page Previous  1, 2 Display posts from previous:    Page 2 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum