pdc
Regular Contributor
Hello,
I am having problems accessing SSH to an AiMesh node when I have multiple SSH Authorized Keys configured. I have configured the keys using Administration > System > Authorized Keys, one key per line.
I found that the main node (GT-AX6000 running Merlin 3004.388.7) and AiMesh node (RT-AC86U Asus F/W 3.0.0.4.386_51925) have the same nvram value, e.g.
On the Merlin node, this results in an authorized keys file like you'd expect:
However, on the AiMesh node, the nvram is not converted:
SSH doesn't recognize > as a key separator, so every node reboot I need to log on to fix the authorized keys file.
Is there something I'm not doing right?
I am having problems accessing SSH to an AiMesh node when I have multiple SSH Authorized Keys configured. I have configured the keys using Administration > System > Authorized Keys, one key per line.
I found that the main node (GT-AX6000 running Merlin 3004.388.7) and AiMesh node (RT-AC86U Asus F/W 3.0.0.4.386_51925) have the same nvram value, e.g.
Code:
# nvram get sshd_authkeys
ssh-rsa KEY1 comment1>ssh-rsa KEY2 comment2>ssh-rsa KEY3 comment3
On the Merlin node, this results in an authorized keys file like you'd expect:
Code:
# cat ~/.ssh/authorized_keys
ssh-rsa KEY1 comment1
ssh-rsa KEY2 comment2
ssh-rsa KEY3 comment3
However, on the AiMesh node, the nvram is not converted:
Code:
# cat ~/.ssh/authorized_keys
ssh-rsa KEY1 comment1>ssh-rsa KEY2 comment2>ssh-rsa KEY3 comment3
SSH doesn't recognize > as a key separator, so every node reboot I need to log on to fix the authorized keys file.
Is there something I'm not doing right?