Name
sshKey — Manages the public SSH keys for passwordless switch login.
Syntax
sshKey [add | rm [host <HOST>] | list] [<KEY> [COMMENT] | all]
Options
addAdds an SSH key.
rmRemoves a specified SSH key or all keys.
hostSpecifies the host to remove from the SSH known hosts.
<HOST>Specifies the IP address of the host.
listDisplays the SSH keys associated with the current user.
<KEY>Specifies an SSH key.
COMMENTSpecifies an optional comment (for example, user@example.com).
allSpecifies all keys.
Examples
sshKey add 'ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAtD1PcXmB7A... user@example.com' sshKey rm 'user@example.com' sshKey rm all sshKey rm hosts 100.200.300.400 sshKey list