08-31-2016 12:12 PM - edited 03-08-2019 07:15 AM
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
08-31-2016 12:20 PM
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.
09-02-2016 08:09 AM
thanks sir
09-02-2016 12:57 PM
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
router#conf t
!--- Enter configuration commands, one per line. End with CNTL/Z.
router(config)#line vty 0 4
router(config-line)#
router(config-line)#password <password>
router(config-line)#login
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.
09-11-2016 08:26 AM
hello sir.. can i have your facebook account.. i have so many more question for you.. please thanks.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide