Cisco Router SSH Configuration

Cisco Router SSH Configuration – When configuring Cisco routers for the first time, we can perform this operation through the console connection. After initial configuration, we will configure the Cisco router telnet connection settings. And at this point, Cisco is reaching the router through the network and continuing our remaining operations.

Cisco Router SSH Configuration

Cisco Router SSH Configuration

When we configure Cisco routers with telnet, there will be an unsecured connection since the telnet connection will be unauthorized. When Telnet is used, the data is transmitted without encryption. However, if the SSH protocol use, the data will be encrypted. You can think of this as VPNconnection security.

How to Configure SSH on Cisco Router and Cisco Switch?

After creating a small network topology with GNS3 and VMware Workstation for the Cisco Router SSH access configuration, we will apply the SSH connection. The GNS3 network simulator program provides to make a more specific network according to the Cisco Packet Tracer program. For those working on Cisco exams, the GNS3 program is the ideal one.

You need to add Cisco IOS to the GNS3 program before doing this.

How to install Cisco IOS on the GNS3 program? If you do not know the answer to the question, we recommend you to read “Adding Cisco IOS to GNS3“

For the Cisco Router SSH access configuration process, run the GNS3 program first. Then we create a new project.

Step2

In the GNS3 program, drag and drop the Cisco Router c3725.

Step 3

Add one Switch and Host to the GNS3 workspace. Then click option 3. Then connect one end of the cable to the FastEthernet0 / 0 interface of the Cisco Router and the other end to the Switch. Connect the computer to the Switch.

Step 4

We completed the cabling for the Cisco Router SSH configuration. We will run the Cisco Router later. Now let’s check the VMware Workstation VMnet3 IP address.

VMware Adaptor Setting for GNS3

VMware Adaptor Ip Address for Physical Computer

Step 5

In the VMware Workstation program, create VMnet3 in the Virtual Network Editor program. Then assign the IP address to VMnet3 from the network and sharing center settings as shown below.

Virtual Machine VMware Adaptor Ip Address

Step 7

I have Windows 8.1 operating system installed on my own VMware Workstation program. There may be a different operating system. If you want to download Windows 8.1 x64 TR operating system, you can download it here.

In the Windows 8.1 virtual machine’s network card settings, set the Custom option to VMnet3.

In privileged user mode, type the show line command and press the Enter key. And then the connections on the Cisco Router will then appear. The SSH connection appears that opened via VTY.

Step 16

Use the show ssh command in privileged configuration mode to check the SSH version and test the connection. At the output of the show command, it appears that the SSH version is 2.0.

Step 17

If you want to make an SSH connection over the Cisco Router in a different location, we can connect successfully after you run ssh -l cisco 192.168.8.1 command. Press the Enter key immediately after typing the command.

Step 18

After checking a sub-line, you will be prompted for the password and enter the generated password.

Step 19

If we run show ssh command again, we can see the information about the connection.

Step 20

Let’s apply the show line command…

Step 21

You can use the exitcommand to terminate the SSH connection over the Cisco Router.

Cisco Router SSH Configuration ⇒ Video

You can watch how to configure SSH on Cisco Router in GNS3 and also subscribe to our YouTube channel…

Final Word

We have completed the topic called the “Cisco Router SSH Configuration”. In Cisco router configuration, the telnet connection is an unsecured connection. Instead, you can continue the process by activating the SSH protocol. Cisco Router SSH configuration allows you to connect your Cisco Router from a different location.

If this article is helpful, send me feedback by commenting! Thanks in advance, take care of yourself!

Also, you can add to the browser bookmarks by pressing the Ctrl+D to read this article later!