SSH有効化(crypto key)
CautionEnable SSH access
(config)# crypto key generate rsa modulus 2048
Generates the RSA key and locks vty to SSH — hostname and domain-name must be set before key generation.
Examples
line vty 0 4 transport input sshSSH-only vty lines
Syntax
hostname/ip domain-name設定 → crypto key generate rsa modulus 2048 → line vty: transport input ssh
Before you run it
Changing transport cuts telnet access.
Related commands
- sshRemote shell
- configure terminalEnter config mode
You can carry a laptop to the rack. Signal will not follow.
Check syntax standing in front of the hardware, with no connection at all. The app keeps 1,510 commands and 120 fix flows on your device. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store