Hello how are you? This is my first question on the forums.
I have a RT-AC87U router with Merlin Firmware 384.13_10
I have the Jffs partition formatted, with scripts
I have Skynet installed and working fine (and with Secure Mode Disabled)
I have been trying to configure access via SSH for some time but with access keys without using username and password.
I have tried everything I saw here in the forums, and what I could read.
I access by SSH without problems with username and password.
But if I want to access using the keys it doesn't work.
I have generated keys and tested with ssh-keygen on a linux machine, with puttygen on Windows and on another linux machine, and I have even generated with dropbear on the router itself.
It always comes down to the same thing, generating a key (I've always used RSA 2048 or 1024) without a phrase key. I put the public key in the router's WEB interface in Authorized Keys and in the program I use to connect (Putty or Remmina) I configure that for authentication it uses the file with the private key.
But using the keys the connection does not work.
In Putty it tells me that the server has rejected our key, in Remmina it insists on asking for a phrase key and I give it enter and then it says Null, and in the router log apparently for dropbear it waits for a user to arrive who doesn't arrive
I already checked that the contents of /home/root/.ssh/authorized_keys and what is in the web interface of the router are the same.
Also remove the trailing newline just in case.
What else can I do?
If you need to copy something that the registry says.
I have a RT-AC87U router with Merlin Firmware 384.13_10
I have the Jffs partition formatted, with scripts
I have Skynet installed and working fine (and with Secure Mode Disabled)
I have been trying to configure access via SSH for some time but with access keys without using username and password.
I have tried everything I saw here in the forums, and what I could read.
I access by SSH without problems with username and password.
But if I want to access using the keys it doesn't work.
I have generated keys and tested with ssh-keygen on a linux machine, with puttygen on Windows and on another linux machine, and I have even generated with dropbear on the router itself.
It always comes down to the same thing, generating a key (I've always used RSA 2048 or 1024) without a phrase key. I put the public key in the router's WEB interface in Authorized Keys and in the program I use to connect (Putty or Remmina) I configure that for authentication it uses the file with the private key.
But using the keys the connection does not work.
In Putty it tells me that the server has rejected our key, in Remmina it insists on asking for a phrase key and I give it enter and then it says Null, and in the router log apparently for dropbear it waits for a user to arrive who doesn't arrive
I already checked that the contents of /home/root/.ssh/authorized_keys and what is in the web interface of the router are the same.
Also remove the trailing newline just in case.
What else can I do?
If you need to copy something that the registry says.