Quote Originally Posted by Alankellyeire View Post
hey bud i got it working. your method was right and no need to convert the key. i think that i was copying and pasting the key in manually instead of just catenating the file with the key was my issue. i never had an issuing doing it before but thats the only difference between now and my previous attempts.

i cant believe it. it is the exact same as openssh and here was me about to pull out my last few hairs.

here are the commands i used in case someone else is having trouble.

generate key on your client
Code:
ssh-keygen -t rsa
transfer the public key to ur enigma box using secure copy
Code:
scp ~/.ssh/id_rsa.pub root@<BOX-IP>:/home/root/.ssh/id_rsa.pub
catenate the authorized_keys file with the public key. if there isnt a authorized_keys file make it.
Code:
cat ~/.ssh/id_rsa.pub >> /home/root/.ssh/authorized_keys
add the no password option below to the dropbear config file. use the text editor vi.
Code:
DROPBEAR_EXTRA_ARGS="-s"
now restart dropbear
Code:
/etc/init.d/dropbear restart
For several months I have been successfully logging into openpli/openatv via ssh key. When I want to log in now, I can see it
Code:
Unable to negotiate with 10.8.0.102 port 22: no matching host key type found. Their offer: ssh-rsa
I changed the version. OS from Linux Mint 19 to Linux Mint 21. But I did not change the SSH key.