setting up ssh
TRANSCRIPT
![Page 1: Setting up SSH](https://reader036.vdocuments.mx/reader036/viewer/2022062522/587f05341a28abc26f8b4b43/html5/thumbnails/1.jpg)
Setting up SSH
![Page 2: Setting up SSH](https://reader036.vdocuments.mx/reader036/viewer/2022062522/587f05341a28abc26f8b4b43/html5/thumbnails/2.jpg)
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](https://reader036.vdocuments.mx/reader036/viewer/2022062522/587f05341a28abc26f8b4b43/html5/thumbnails/3.jpg)
The following example shows the configuration of the first three steps:
![Page 4: Setting up SSH](https://reader036.vdocuments.mx/reader036/viewer/2022062522/587f05341a28abc26f8b4b43/html5/thumbnails/4.jpg)
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.