CLI Guide

Security Commands 1197
The switch accepts keys up to 2048 bits in length.
Command History
Modified in version 6.5 firmware.
Examples
The following example shows how to enter a single public key string for a user
called “bob.”
console(config)#crypto key pubkey-chain ssh user-key bob rsa
Key-string row AAAAB3NzaC1yc2EAAAABIwAAAQEAu7WHtjQDUygjSQXHVgyqdUby
Key-string row dxUXEAiDHXcWHVr0R/ak1HDQitBzeEv1vVEToEn5ddLmRhtIgRdKUJHgBHJV
Key-string row R2VaSN/WC0IK53j9re4B11AE+O3qAxwJs0KD7cTkvF9I+YdiXeOM8VE4skkw
Key-string row AiyLDNVWXgNQ6iat8+8Mjth+PIo5t3HykYUCkD8B1v93nzi/sr4hHHJCdx7w
Key-string row wRW3QtgXaGwYt2rdlr3x8ViAF6B7AKYd8xGVVjyJTD6TjrCRRwQHgB/BHsFr
Key-string row z/Rl1SYa0vFjel/7/0qaIDSHfHqWhajYkMa4xPOtIye7oqzAOm1b76l28uTB
Key-string row luBEoLQ+PKOKMiK8sQ==
ssh
Use the ssh command to establish an outboard connection to a remote SSH
server from the switch console.
Syntax
ssh [-l login-name] [-p port] {ip-address | hostname }
ip-address — An IP address in numeric format. Both IPv4 and IPv6
addresses are supported.
hostname — A hostname that can be resolved by the configured DNS.
login-name — The user identity configured on the target host.
port — The TCP port number configured on the target host for receiving
SSH connections.
Default Configuration
This command has no default configuration.
Command Mode
Privileged Exec mode