Set Up SSH Keys

Hello!! :grinning:

I would like to configure SSH key access for my GL-AXT1800. From my PC, could I simply ssh-copy-id my public key to /etc/dropbear/authorized_keys?

In addition, I would like to harden security by disabling password authentication. Is this the correct way?

uci set dropbear.@dropbear[0].PasswordAuth="0"
uci set dropbear.@dropbear[0].RootPasswordAuth="0"
uci commit dropbear
/etc/init.d/dropbear restart

Thank you very much and best regards!! :grinning: :grinning:

You can refer this link:

2 Likes

Hello!!

Thank you very much, I’ll follow this guide.

Best regards!! :grinning::wave::+1: