login/login local ?
E1or0
Banned Posts: 58 ■■□□□□□□□□
in CCNA & CCENT
When setting up a VTY Password for SSH Sessions what is the difference between login and login local?
Comments
-
jason_lunde Member Posts: 567You can use something like
line vty 0 4
login
password cisco
and use a password specific to that line or lines
or you can use
line vty 0 4
login local
and use a local username/password on the cisco device. This would use the user from a line like:
username cisco privilige 15 password cisco -
E1or0 Banned Posts: 58 ■■□□□□□□□□I know but what is really the difference of using just login or login local? is it because you have more control of who's accessing your equipment? by providing a userid/pw? the local part is what i don't get
-
jjbrog Member Posts: 149I don't know a whole lot abut that part but I think just using the line vty 0 4 pass cisco login basecly just makes you use a password to telnet login local makes you use a username and password assigned locally to a user. login local I know is used when setting up sdm on a router.Started a forum for networking students, its new and needs people!
http://netadminstudents.zxq.net/phpBB3/
HTC students encouraged to join -
E1or0 Banned Posts: 58 ■■□□□□□□□□local makes you use a username and password assigned locally to a user
-
networker050184 Mod Posts: 11,962 ModLocal means to check the user/pass against the locally configured database (configured on that router).
The login command just asks for the password you have on the vty line like others have stated.An expert is a man who has made all the mistakes which can be made. -
E1or0 Banned Posts: 58 ■■□□□□□□□□Local means to check the user/pass against the locally configured database (configured on that router).
The login command just asks for the password you have on the vty line like others have stated.
login local is it just for ssh configurations and not telnet ? I bet is so simple is just that is not clicking here yet
by the way I'm working on a ssh config not telnet -
networker050184 Mod Posts: 11,962 ModI think you are putting way too much thought into this. Login just checks the password and can't be used by SSH as it needs a username as you know. Login local (or to a server with a user/pass database) can be used for telnet or SSH.An expert is a man who has made all the mistakes which can be made.
-
E1or0 Banned Posts: 58 ■■□□□□□□□□You're right networker050184, I'm putting too much pressure on this
let see if I get this now
Login can be use only in a telnet config but not for SSH
now Login Local can be use for both - Correct ? -
networker050184 Mod Posts: 11,962 ModCorrect. You need a user/pass databse for SSH.An expert is a man who has made all the mistakes which can be made.
-
E1or0 Banned Posts: 58 ■■□□□□□□□□Oki Dokie my friend, Thanks a lot for your time and support, Now is clicking
I'm presenting the CCNA exam pretty soon, so I'm trying to do as much labs a possible, I tend to over analyze everything you know the (why's/how's), that's what gets me stuck some times
Anyway Thank you again
networker050184