Telnet & SSH sessions setup commands

in CCNA & CCENT
I went over this lab a few times, but just wanted to clarify:
line vty 0 4 will this allow up to 5 telnet connections to the router?
line con 0 will this allow a single console connection?
login local can someone briefly explain this one?
Thanks,
line vty 0 4 will this allow up to 5 telnet connections to the router?
line con 0 will this allow a single console connection?
login local can someone briefly explain this one?
Thanks,
A+
Network+
CCENT (formally CCNA certified)
ICE (Imprivata Certified Engineer)
Network+
CCENT (formally CCNA certified)
ICE (Imprivata Certified Engineer)
Comments
-
gosh1976 Member Posts: 441
I believe if you are use the login local command when configuring a vty line then the local authentication database will be used. so if you telnet in to the device it will ask you for a username and password and not just a password.
line vty 0 4 does indeed reference 5 vty connections.
Isn't there usually just one console port on a device? regardless I believe settings under line console 0 would reference the one connection
somebody with a better understanding might be able to give a better answer -
2URGSE Member Posts: 220 ■■■□□□□□□□
Uses local user database instead of a password. So use must create user accounts first before issuing this command otherwise you could lock yourself out.
Thank you!A+
Network+
CCENT (formally CCNA certified)
ICE (Imprivata Certified Engineer) -
Somnipotent Member Posts: 384
I went over this lab a few times, but just wanted to clarify:
line vty 0 4 will this allow up to 5 telnet connections to the router?
line con 0 will this allow a single console connection?
login local can someone briefly explain this one?
Thanks,
1. cisco likes to count from 0... your lines are 0, 1, 2, 3, & 4.
2. 1 console port = 1 connection. you can also plug into the aux 0 port if you have it configured and it will give you the same thing. the aux port is mainly used for dial backups
3. login local means to look for the username password in the router itself. if you just apply login, the IOS will ask for the password and that is all. if you use login local, you would assume that you've created a username/priviledge/password database (which you should if you've have if you've configured ssh).Reading: Internetworking with TCP/IP: Principles, Protocols, and Architecture (D. Comer) -
thenjduke Member Posts: 894 ■■■■□□□□□□
do not forget the transport input telnet ssh command as well.CCNA, MCP, MCSA, MCSE, MCDST, MCITP Enterprise Administrator, Working towards Networking BS. CCNP is Next. -
2URGSE Member Posts: 220 ■■■□□□□□□□
do not forget the transport input telnet ssh command as well.
Yes, I see that in there. The lab walks you through the commands, but I Just wanted to make sure I understood exactly what each them does.
There is also the RSA key generation command.
crypto key generate rsa
Is this to authenticate something in the login process?A+
Network+
CCENT (formally CCNA certified)
ICE (Imprivata Certified Engineer) -
Somnipotent Member Posts: 384
Yes, I see that in there. The lab walks you through the commands, but I Just wanted to make sure I understood exactly what each them does.
There is also the RSA key generation command.
crypto key generate rsa
Is this to authenticate something in the login process?
it generates a key used for authentication... do a show run and you'll see it.
crypto key generate rsa general mod 1024Reading: Internetworking with TCP/IP: Principles, Protocols, and Architecture (D. Comer) -
mtorres Member Posts: 63 ■■□□□□□□□□
Yes, I see that in there. The lab walks you through the commands, but I Just wanted to make sure I understood exactly what each them does.
There is also the RSA key generation command.
crypto key generate rsa
Is this to authenticate something in the login process?
This creates the key ssh uses to encrypt the data being sent back and forth ie passwords, commands, etc. You have to issue the ip domain-name domain.com command in order for this to work, replace domain.com with whatever your domain name is. -
thenjduke Member Posts: 894 ■■■■□□□□□□
Yes, I see that in there. The lab walks you through the commands, but I Just wanted to make sure I understood exactly what each them does.
There is also the RSA key generation command.
crypto key generate rsa
Is this to authenticate something in the login process?
This create the keys for authentication to be used for sdm via https or ssh.
the command is crypto key generate rsa general keys and make it 1024CCNA, MCP, MCSA, MCSE, MCDST, MCITP Enterprise Administrator, Working towards Networking BS. CCNP is Next.