- Back to Home »
- Helpful Tips and Tricks »
- Configure SSH Security on Cisco Routers
Posted by : Mandie
Saturday, 13 July 2013
Hey Friends here is a new post for you, in this post we will discuss a secure way to configure the cisco router remotly.
SSH stands for Secure Shell and it is used to exchange the configuration data b/w client device and n/w device like router, switch or server in encrypted format.
To configure SSH on a cisco Router you need to follow the following steps.
1. Configure a hostname of your router
Router>enable
Router#configure terminal
Router(config)#hostname Maati
Maati(config)#
2. Configure a Domain Name on the router
Maati(config)#ip domain-name domain.com
3. Generate Cryptography keys
Maati(config)#cryprto key generate rsa
4. Create User Account(s)
Maati(config)#username Maati password password
5. Enable VTY port for SSH
Maati(config)#line vty 0 15
Maati(config)#login local
Maati(config)#transport input ssh
Optional settings
1. Setting SSH version
Maati(config)#ip ssh version <1-2>
you can either use version 1 or version 2 for ssh
2. Setting Login Retries
Maati(config)#ip ssh retries 4
I have set retries to 4 you can change it as per your requirement