Can't SSH into the Router


First the background:
Wanted to SSH into the router as I do into my NAS.
So "ssh -p '123' admin@" with the response:
"Unable to negotiate with port 55: no matching key exchange method found. Their offer: diffie-hellman-group14-sha1,diffie-hellman-group1-sha1,"
Ok, google it and found it should be:
"ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -p '123' admin@".
And the response was: "admin@'s password:"
So entered the GUI admin PW, but the final response after three failed attempts is
"admin@ Permission denied (publickey,password)".

So first question is: Is the GUI PW the same as the SSH PW? I would expect so as there's no way to set any different PW anywhere.
2nd question: Are there any settings that could prevent a login permission? It is clear that communication is established and possible, so it can only be local access settings.

Finally: Once I'm in I wanted to do a "df -h" to see where/if the USB stick appears anywhere. This is a Netgear R6250 and it has a USB slot for a drive, 1GB, ext4 formatted.
Any ideas are ver welcome.

there's no admin in openwrt, only root, via ssh and webui.

are you running openwrt ?

1 Like

Bingo, that solved it!
No idea how I got "admin" set to my mind, but I'm in :slight_smile:
"CHAOS CALMER (15.05, r46767)" has calmed the chaos now

You should have upgraded, 7 years ago, or so.

Oops... am onto it now! Thx for the hint.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.