Configures the port for SSH traffic.

ip ssh port port-num
no ip ssh port port-num

By default, SSH traffic occurs on TCP port 22.

port-num
Specifies the port number.

Global configuration mode

If you change the default SSH port number, you must configure SSH clients to connect to the new port. Also, you should be careful not to assign SSH to a port that is used by another service. If you change the SSH port number, RUCKUS recommends that you change it to a port number greater than 1024.

The no form of the command changes the port to the default.

The following example configures the SSH port as 2200.

device(config)# ip ssh port 2200