Hi, i have Merlin V 384.16 installed on my ASUS RT-AC3000.
I am able to SSH into the router from many computers on my network, but i think that one particular user from a computer has been locked out and when i try to ssh into it i get the: "Host key verification failed".
Its important to note that on this machine, which is a docker container with the SmartHome software called "OPENHANB" installed, i a can ssh into the router when logging as a root (connected to the machine container via CLI), but when trying another user it give me the error. On my machine command line i run the ssh via :
And i get the above described error.
Searching only it seems that i can resolve this issue by editing the "known_host" file, that is supposed to be located on the .shh on the home location ('~/.ssh).. but for the life of me i cannot find that file. I have tried searching on the /etc folder but cannot find it.. i even tried populating all nvram parameters and filtering (grep) by "rsa" "host" or "ssh" but could not find something that remotely resembles the router blocking the computer IP for a given user.
I even generated rsa keys for the user openhab:
And copied the public key into a .ssh folder that i manually created (see this link) .. no luck either (btw, this method works like a champ for my root user, no issues there!)
Where is the "know_host" file locate on Merlin? and, is this the correct method for trying to solve this or if there is anything else recommended?
Any help is greatly appreciated.
Hugo
I am able to SSH into the router from many computers on my network, but i think that one particular user from a computer has been locked out and when i try to ssh into it i get the: "Host key verification failed".
Its important to note that on this machine, which is a docker container with the SmartHome software called "OPENHANB" installed, i a can ssh into the router when logging as a root (connected to the machine container via CLI), but when trying another user it give me the error. On my machine command line i run the ssh via :
Code:
runuser -l openhab -c 'ssh admin@10.0.1.1"
And i get the above described error.
Searching only it seems that i can resolve this issue by editing the "known_host" file, that is supposed to be located on the .shh on the home location ('~/.ssh).. but for the life of me i cannot find that file. I have tried searching on the /etc folder but cannot find it.. i even tried populating all nvram parameters and filtering (grep) by "rsa" "host" or "ssh" but could not find something that remotely resembles the router blocking the computer IP for a given user.
I even generated rsa keys for the user openhab:
Code:
runuser -l openhab -c 'ssh-keygen'
And copied the public key into a .ssh folder that i manually created (see this link) .. no luck either (btw, this method works like a champ for my root user, no issues there!)
Where is the "know_host" file locate on Merlin? and, is this the correct method for trying to solve this or if there is anything else recommended?
Any help is greatly appreciated.
Hugo