BLOG-003

TELNET // SSH

you can configured both device router and switch…

PublishedAug 07, 2026 Read time3 min Views1 Category Networking Tags

1st way

en

#config t

()#int vlan 1 (put i address in vlan for switch telnet and ethernet port for Router)

ip add 192.168.1.1 255.255.255.0

no sh

ena secret 1234 (enable mode password)

line vty 0 2

password 123456 (Used for telnet login)

Login

2nd way :

Enable secret 1234

username KP password 123456

line vty 0 1

login local

============================================================

SSH (Secure Shell)

SSH is a protocol that provide secure remote connection to the network devices. it uses port number 22

SSH, also known as Secure Shell or Secure Socket Shell, is a network protocol that gives users, particularly system administrators, a secure way to access a computer over an unsecured network

!Untitled

hostname KP

Router(config)#interface gigabitEthernet 0/0/0

KP(config-line)#ip address 192.168.16.1 255.255.255.0

KP(config-line)#no sh

KP(config-line)#exit

KP(config-line)#ip domain-name kp.com

KP(config-line)#crypto key generate rsa

then RSA value

KP(config-line)#KP(config)#enable secret 1234

KP(config)#username kp password 123456

KP(config)#line vty 0 1

KP(config-line)#login local

KP(config-line)#transport input ssh

cmd: SSH -l domain name ip address of the remote device

password

Share: Share on Facebook

// Related posts

// Comments (0)

No comments yet. Be the first.