On a PC, an SSH client, such as PuTTY, is used to connect to an SSH server. For the examples in Figures 1 to 3, the following have been configured:

In Figure 1, the PC initiates an SSH connection to the SVI VLAN IP address of S1.

In Figure 2, the user has been prompted for a username and password. Using the configuration from the previous example, the username admin and password ccna are entered. After entering the correct combination, the user is connected via SSH to the CLI on the Catalyst 2960 switch.

To display the version and configuration data for SSH on the device that you configured as an SSH server, use the show ip ssh command. In the example, SSH version 2 is enabled. To check the SSH connections to the device, use the show ssh command (see Figure 3).