Hi, I inherited an edgemax router running Edgerouter Pro 1.6. I would like to disable the password authetication via ssh and just use a key exchange, but cannot get the key file to import. I am importing from a MAC OSX machine.
root@SVGH# loadkey admin /home/admin/id_rsa.pub
Not a valid key file format (see man sshd) at /opt/vyatta/sbin/vyatta-load-user-key.pl line 96, <$in> line 1.
I have confirmed there are no spaces/comments in the key file. I have even generated a new public key via "
ssh-keygen -y -f ./id_rsa > id_rsa.pub" and directly scp'd it over to the edgemax router. Same results. This is the only device that I am having this kind of issue with.
Thanks in advance!