Connect Router/Switch using Telnet/ SSH/ HTTP/HTTPS

Router and Switches are the Networking devices that are used to create a wide variety of Networks. To harness the functionalities they provide, these Networking Devices (Routers and Switches) needs to be configured according to the requirements and situations. To configure the device, you need to connect to it first via Telnet, SSH, HTTP, HTTPS. To know more about how to Connect Router using Telnet, SSH/ HTTP/HTTPS, keep reading this article till the end.

While at the first time login or in case of network outages it may be essential to connect via Console or Auxiliary port, for normal day to day configuration ad management related activities it makes no sense to reach out to the physical port and connecting to Routers/ Switches over the network is a breeze, and is the usual practice followed by most of the Network Administrators. Major methods providing which can provide connectivity to the Routers/ Switches over Network are telnet, SSH, HTTP, HTTPS, and VPN. Here We would discuss in detail how you connect to the Routers/ Switches using these methods.

To connect to the Router/ Switch using a particular method, the Router/ Switch needs to be configured priorly to accept connections using the corresponding protocols. The  Router/ Switch Configuration, in this case, ranges from configuring tty, vty to configuring a local web server, sometimes it involves complex configurations in order keep the operation smooth and without introducing any vulnerabilities, clear understanding of the methods is vital for the Network Administrators.

Covering Router side configurations for each of the methods demand a separate article, hence in this article, we would be assuming that the Router has been configured to accept connections, and we would be providing instructions for connecting to the Router/ Switch from your Computer. Assuming you have already done Router side Configurations, the first thing you need is the I.P. Address configured on the Router/ Switch.

Connecting to Router/ Switch using Telnet and SSH

If you are on Linux based systems, you need to open the terminal where you normally execute the Linux commands. Then you need to enter the below command to Connecting to Router/ Switch using Telnet and SSH:

telnet w.x.y.z  23

where w.x.y.z is the I.P. Address of configured on the Router/ Switch.

To connect to Router/ Switch using SSH use below commands

ssh w.x.y.z

After executing the above commands, you will be greeted by the Router/ Switch Banner message followed by asking for username and then passwords, you need to enter the correct username and password and then you would get the Connection to your Router/ Switch.

If the router has been configured to use other than default port for ssh you may enter below command

ssh -p new_port w.x.y.z

If you are on windows you may need to use a tool for connecting to the Router/ Switch. Putty is the most popular tool and could be obtained for free from (https://www.putty.org/). Follow below instructions to use Putty.

Open Putty (it looks like the figure below)

Console Port In Router, How To Connect To Cisco Switch Using USB Console Cable, How To SSH Into Router Using Putty, How To Connect To A Cisco Switch Using Ethernet Cable, How To Telnet Into A Cisco Switch Using Putty

In the “Host Name (or IP Address)“ enter the IP. Address of the Router and using the radio button option select telnet if you need a telnet connection, and select SSH if you need SSH Connection to the Router/ Switch.

Then click on the open button, you will be greeted by the Router/ Switch Banner message followed by asking for username and then passwords, you need to enter the correct username and password and then you would get the Connection to your Router/ Switch.

In the latest Windows Desktop Operating Systems you may use Windows Power Shell Similar to the Linux Terminal for connecting to the Router /Switches.

Connect Router/ Switch using HTTP/HTTPS Protocol

          All Cisco router has built-in Web-based Setup pages that allow the user to customize settings and set up advanced properties. If properly configured in the Routing Device, a user in the Network can access its Configuration interface using web Browser, Simply open Web browser such as Mozilla Firefox and enter the IP address of the router in the address bar, you would be asked to enter the username and password, after successful authentication you would get access to the Configuration Interface from where you would be able to configure your device.

Secure vs Insecure

Only and the huge difference in HTTP, HTTPS and Telnet, SSH is that HTTP is insecure, HTTPS is secured, Telnet is insecure and SSH is Secured Protocol. Insecure means if the traffic has is intercepted since all the authentication strings are exchanged in plaintext without encryption, they are having these credentials without any need of cracking them.

Also, read…


Download Connect Router/Switch using Telnet/ SSH/ HTTP/HTTPS in pdf – Click here


 

Close Menu