hostname whateveryouwant ip domain-name example.com username bob secret bob <--- required because SSH uses a username and password crypto key generate rsa general-keys mod 1024 <--- this line varies you may want to just use "crypto key generate rsa" then put in 1024 for the modulus. line vty 0 4 <--- most IOS versions hsve 16 lines so "line vty 0 15" may be better login local transport input ssh <--- allow only ssh protocol into these lines.
line vty 0 4 <--- most IOS versions hsve 16 lines so "line vty 0 15" may be better
line vty 0 4 (..) line vty 5 15 (..)
Inc wrote: line vty 0 4 <--- most IOS versions hsve 16 lines so "line vty 0 15" may be better In case the router doesn't support 16 lines then the configuration input would be rejected. If you need to configure a lot of devices, then splitting 16 lines in two blocks is better.line vty 0 4 (..) line vty 5 15 (..) I do it this way and don't have to worry about line support restrictions.
Mishra wrote: Oh so if you have line vty 0 2 then 3 people can connect at once?