How to enable passwordless SSH
By default, a AltoPlex device requires a password to log onto the device when using SSH. You can use the ssh_keys CLI command to configure passwordless SSH login to the D621.
This procedure describes how to upload an SSH key to the AltoPlex device. You need to generate the SSH key on your local machine using a tool such as the Linux ssh-keygen command.
-
Log in via ssh to the AltoPlex device:
$ ssh admin@<hostname>
admin@<hostname>'s password:
where hostname is the hostname (for example, KB-C7-00-01) or IP address of the radio. See Connecting to the AltoPlex radio for more information.
-
Enter control mode:
KB-C7-00-01> control
KB-C7-00-01(control)>
- Use the ssh_keys command:
- Use ssh_keys add file user@host:/path to add a key that is stored on a different host, where:
- user is the username to log into the host.
- host is the name of the host machine.
- path is the path and filename of the key file.
- Use ssh_keys add text key to add a key by copying the contents of the key file and pasting the contents as an argument of the ssh_keys add command.
- Use ssh_keys show to return a list of installed keys.
- Use ssh_keys delete number to uninstall the key specified by number. The number of the key is determined with the ssh_keys show command.
- Use ssh_keys delete all to uninstall all keys.
- Use ssh_keys add file user@host:/path to add a key that is stored on a different host, where:
All authorized keys are deleted when a factory reset is performed.