ip ssh disable
By default, SSH is enabled, and an SSH connection is established over port 22.
global configuration mode
The ip ssh disable command is
available in the FastIron 08.0.95h release only.
If SSH has been configured on a port
other than default port 22, using the no ip ssh disable
command re-enables SSH on port 22, disregarding the previous
configuration.
The following example disables the SSH server and closes the SSH connection on the default port or on the port where it is configured.
device# configure terminal device(config)# ip ssh disable disabling the SSH server device(config)# show ip ssh config SSH server : Disabled SSH port : tcp\22 Host Key : DSA 1024 Encryption : aes256-cbc, aes192-cbc, aes128-cbc, aes256-ctr, aes192-ctr, aes128-ctr, 3des-cbc Permit empty password : No Authentication methods : Password, Public-key, Interactive Authentication retries : 3 Login timeout (seconds) : 120 Idle timeout (minutes) : 5 Strict management VRF : Disabled SCP : Enabled SSH IPv4 clients : All SSH IPv6 clients : All SSH IPv4 access-group : SSH IPv6 access-group : SSH Client Keys : Client Rekey : 0 Minute, 0 KB Server Rekey : 0 Minute, 0 KB
The following example enables the SSH server on the default port, port 22.
device(config)# no ip ssh disable enabling the SSH server device(config)#show ip ssh config SSH server : Enabled SSH port : tcp\22 Host Key : DSA 1024 Encryption : aes256-cbc, aes192-cbc, aes128-cbc, aes256-ctr, aes192-ctr, aes128-ctr, 3des-cbc Permit empty password : No Authentication methods : Password, Public-key, Interactive Authentication retries : 3 Login timeout (seconds) : 120 Idle timeout (minutes) : 5 Strict management VRF : Disabled SCP : Enabled SSH IPv4 clients : All SSH IPv6 clients : All SSH IPv4 access-group : SSH IPv6 access-group : SSH Client Keys : Client Rekey : 0 Minute, 0 KB Server Rekey : 0 Minute, 0 KB Kalyan-ICX(config)#show ip ssh No SSH sessions are currently established SSH-v2.0 enabled; hostkey: DSA(1024)
| Release version | Command history |
|---|---|
| FastIron release 08.0.95h | This command was introduced. |