A SERVICE OF

logo

1254 SSH Commands
ip ssh server
Use the ip ssh server command in Global Configuration mode to enable the
switch to be configured from SSH. To disable this function, use the no form
of this command.
Syntax
ip ssh server
no ip ssh server
Default Configuration
This command is enabled by default.
Command Mode
Global Configuration mode
User Guidelines
To generate SSH server keys, use the commands crypto key generate rsa, and
crypto key generate dsa.
Example
The following example enables the switch to be configured using SSH.
console(config)#ip ssh server
key-string
Use the key-string SSH Public Key Configuration mode to specify an SSH
public key manually.
Syntax
key-string
key-string
key-string row
key-string
row
— To specify the SSH public key row by row.
key-string
— The UU-encoded DER format is the same format as the
authorized keys file used by OpenSSH.