Can't SSH into the Router

Hello,

First the background:
Wanted to SSH into the router as I do into my NAS.
So "ssh -p '123' admin@192.168.1.1" with the response:
"Unable to negotiate with 192.168.0.2 port 55: no matching key exchange method found. Their offer: diffie-hellman-group14-sha1,diffie-hellman-group1-sha1,kexguess2@matt.ucc.asn.au"
Ok, google it and found it should be:
"ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -p '123' admin@192.168.1.1".
And the response was: "admin@192.168.1.1's password:"
So entered the GUI admin PW, but the final response after three failed attempts is
"admin@192.168.1.1: 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.

https://firmware-selector.openwrt.org/?version=23.05.3&target=bcm53xx%2Fgeneric&id=netgear_r6250

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.