Configure SSH Host Key

The following SSH keys are supported:

DSA is used by default. When RSA is used, the default RSA key size is 2048.

The following example shows the configuration of the SSH Server Key type to RSA 4096

SLX(config)# ssh server key rsa ?
Possible completions:
  [2048]
  1024   1024 bits RSA key
  2048   2048 bits RSA key [default]
  4096   4096 bits RSA key
  
SLX (config)# ssh server key rsa 4096

When the SSH Server key is changed, restart the SSH server from EXEC mode using the ssh-server restart command for the new configuration to take effect.

Note

Note

When logging off a SSH session that uses RSA 4096 key length, the audit log entry for logging off will display 127.0.0.1 (localhost) instead of the IP address of the device used to login.