Log in using your SSH key. A user named
charles, for example, would log into a device at
10.0.1.1 by typing:
WAIT Before disabling password access, make absolutely sure that you can log into your Edgerouter using an SSH key. A guide explaining how to set this up can be found here. If you are asked for a password when you log in, stop: You do not have key access set up properly. If you are logged in without being asked for a password, key access is working properly.
Having logged in, run the following commands to switch off password access:
configure set service ssh disable-password-authentication commit save exit
That’s it. You should now be able to log in using SSH-key access only.