cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
780
Views
0
Helpful
4
Replies

ssh and telnet

donmarlongalban
Level 1
Level 1

hello everyone.. 

im just a beginner in routing and switching..

i want to learn more about this one.. 

ryt now im using packet tracer.. i just wanna ask something about line vty.

im trying to telnet. its working perfectly fine. the passwords. its good.

SSH also working.

i make password for telnet 

and password for ssh, i make different password for each other. 

the problem is. they both use only 1 pass. the password for telnet only. 

is it possible to make the password different for SSH and telnet. 

thanks in advance

4 Replies 4

Steven Williams
Level 4
Level 4

Firstly - Telnet is bad. Its plain text. 

you can only set one password on the vty lines. so if you want multiple passwords you need to create multiple users and their passwords and set login local on the vty lines.

thanks sir

Austin Sabio
Level 4
Level 4

Never deploy telnet in your environment but if it's for lab purposes. This can be achieved by 

transport input telnet ssh 

or

line vty 0 4

transport input telnet 

transport input ssh

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

Telnet 

  1. router#conf t
    !--- Enter configuration commands, one per line. End with CNTL/Z.
    router(config)#line vty 0 4
    router(config-line)#
  2. router(config-line)#password <password>
    router(config-line)#login
  3. router(config-line)#end
    router#
    %SYS-5-CONFIG_I: Configured from console by console

SSH  

Switch(config)#hostname your_hostname
Switch(config)#username admin privilege 15 secret EncryptedPassword
Switch(config)#ip domain-name your_domain
Switch(config)#crypto key generate rsa general-keys modulus 1024
Switch(config)#ip ssh time-out 60
Switch(config)#ip ssh authentication-retries 3
Switch(config)#login block-for 60 attempts 3 within 30
Switch(config)#access-list 23 permit 10.10.10.0 0.0.0.255
Switch(config)#line vty 0 4
Switch(config-line)#transport input ssh
Switch(config-line)#access-class 23 in
Switch#show ip ssh

Check this out. 

https://www.youtube.com/watch?v=twJCJ5Rq1o8

Please rate if helpful. 

Thank you. 

hello sir.. can i have your facebook account.. i have so many more question for you.. please thanks.