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

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 VPN connection security.

We have done previously the telnet connection to Cisco Router. You can reach from topic “Cisco Router Telnet Configuration“!

Cisco Router SSH Configuration Related Softwares

VMware Workstation 12.5.5 Download

 
GNS3 2.0.1 Download

 
Putty Download

 
Cisco IOS c3725 Download

 

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

Our Recommendation

You can purchase “CCNA Routing and Switching Complete Study Guide” from Amazon.

   Step 1

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

Cisco Router SSH Configuration

   Step 2

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

Cisco Router SSH Configuration

   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.

Cisco Router SSH Configuration

   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.

Cisco Router SSH Configuration

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.

Cisco Router SSH Configuration

   Step 6

After creating VMnet3 in the VMware Workstation Virtual Network Editor program, assign 192.168.8.0 Ip blocks.

Cisco Router SSH Configuration

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.

Cisco Router SSH Configuration

How to use VMware Virtual Network Editor? If you do not know, you can arrive by reading the topic called the “VMware Workstation Virtual Network Editor Configuration

   Step 8

Once you have gone to the GNS3 program, you can now run the Cisco Router. Click the Start button as shown below.

Cisco Router SSH Configuration

   Step 9

After you start the Cisco Router, double-click it to open the console window. And apply the following commands in order.

[code] R1# conf t
R1(config)# interface fastethernet0/0
R1(config-if)# ip address 192.168.8.1 255.255.255.0
R1(config-if)# no shutdown
R1(config-if)# exit
R1(config)#ip domain-name sysnettechsolutions.com
R1(config)#crypto key generate rsa general-keys modulus 1024
The name for the keys will be: R1.sysnettechsolutions.com
% The key modulus size is 1024 bits
% Generating 1024 bit RSA keys, keys will be non-exportable…[OK] R1(config)# ip ssh time-out 15
R1(config)# ip ssh authentication-retries 2
R1(config)# ip ssh version 2
R1(config)# username cisco privilege 15 password cisco123
R1(config)# line vty 0 4
R1(config-line)# login local
R1(config-line)# privilege level 15
R1(config-line)# transport input ssh
R1(config-line)# exit
R1(config)# end
R1# wr
[/code]

After applying the commands in order, perform the Cisco Router SSH configuration from the VMware virtual machine, passing the next step.

Cisco Router SSH Configuration

   Step 10

On the VMware virtual machine, open the Putty program and type the FastEthernet0/0 IP address of the Cisco Router. Then make sure that the SSH option is selected and click the Open button.

Cisco Router SSH Configuration

   Step 11

Click Yes button in response to Putty security warning.

Cisco Router SSH Configuration

   Step 12

The Cisco Router SSH connection was successfully installed. In the Login as the section, type in the username that you created and then click the Enter key.

Cisco Router SSH Configuration

   Step 13

You will be prompted for a password after checking a sub-line. Enter the password cisco123 created in the password field and press the Enter key.

Cisco Router SSH Configuration

   Step 14

We successfully completed the Cisco Router SSH configuration process! Let’s check the sessions now.

Cisco Router SSH Configuration

   Step 15

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.

Cisco Router SSH Configuration

   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.

Cisco Router SSH Configuration

   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.

Cisco Router SSH Configuration

   Step 18

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

Cisco Router SSH Configuration

   Step 19

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

Cisco Router SSH Configuration

   Step 20

Let’s apply the show line command…

Cisco Router SSH Configuration

   Step 21

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

Cisco Router SSH Configuration

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!

Articles Related to Cisco Router SSH Configuration

Products Related to Cisco Router SSH Configuration;
Related Products

Leave a Reply

Your email address will not be published. Required fields are marked *

6 − 2 =