ip ssh

This topic explains the commands that enable or disable SSH access to the switch.

Syntax

CODE
ip ssh
no ip ssh

Parameter

None

Default

Enabled.

Mode

Global Configuration

Usage

Use the ip ssh command to enable SSH access to the switch.

Use the no ip ssh command to disable SSH access to the switch.

Warning: If you disable SSH access, all current SSH sessions are terminated.

Example

This example shows how to disable SSH service:

CODE
Switch(config)# no ip ssh
SSH daemon disabled.