© Copyright Lenovo 2017
Table 152.
SSH Server Configuration Options (continued)
Command Syntax and Usage
show ssh
Displays the current SSH server configuration.
Command mode: All
show sshclienthostkey {address <SFTP server IP address>|all}
Displays the current SFTP/SSH host key configuration.
address: Displays a specific SFTP/SSH host key
all: Displays all SFTP/SSH host keys
Commands mode: All
show sshclientpubkey {all|index <1‐100>|username <user name>}
Displays the current SSH public key configuration.
all: Displays all SSH public keys
index: Displays a specific SSH public key
username: Displays all the SSH public keys of a particular user
Command mode: All
clear sshclienthostkey {address <SFTP server IP address>|all}
Clears stored SFTP/SSH host key configuration.
address: Clears a specific SFTP/SSH host key
all: Clears all SFTP/SSH host keys
Command mode: Privileged EXEC
clear sshclientpubkey {all|index <1‐100>|username <user name>}
Clears stored public key configuration.
all: Clears all SSH public keys
index: Clears a specific SSH public key
username: Clears a particular username from all the SSH public keys
Command mode: Privileged EXEC
Chapter 4: Configuration Commands
355