setting up ssh

4
Setting up SSH

Upload: netprotocol-xpert

Post on 18-Jan-2017

320 views

Category:

Engineering


0 download

TRANSCRIPT

Page 1: Setting up SSH

Setting up SSH

Page 2: Setting up SSH

To enable secure access to your Cisco device, you can use SSH instead of Telnet. SSH uses encryption to secure data from eavesdropping.

  To enable SSH, the following steps are

required:  1. Set up a hostname and a domain name 2. Configure local username and password 3. Generate RSA public and private keys 4. Allow only SSH access

Page 3: Setting up SSH

The following example shows the configuration of the first three steps:

Page 4: Setting up SSH

First, we have defined the device hostname by using the hostname R1 command. Next, we have defined the domain name by using the ip domain-name cisco command.

After that, the local user is created by using the username study password ccna command. Next, we need to enable only SSH access to a device. This is done by using the transport input ssh command:

If we use the transport input ssh command, the telnet access to the device is automatically disabled.

  NOTE – you should use the more recent version of

the protocol, SSH version 2. This is done by using the ip ssh version 2 global configuration command.