05-02-2007 08:30 AM
Hello,
I am new to routing switching. Can some one guide me how to configure SSH on routers?
Regards
Solved! Go to Solution.
05-02-2007 08:41 AM
First you need a crypto image. Check to see that you have a k9 feature set (e.g. ipservicesk9). Then, make sure you have a hostname and domain name configured:
hostname core-router
ip domain-name company.com
Then you need to generate you RSA certificate:
crypto key generate rsa
When it prompts you for a modulus, choose one that is at least 1024 for best compatibility.
Next, configure a local username. If you are already using AAA you can skip this step:
aaa new-model
aaa authentication login default local
username sshuser password sshuser!@#
Finally, checkout the optional "ip ssh" commands to see if any of them are needed for your setup. However, at this point, you should be able to ssh to your router as sshuser (or whatever AAA users you have available).
See http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_configuration_guide_chapter09186a00800ca7d5.html#wp1007881 for the complete list of instructions.
05-02-2007 08:41 AM
First you need a crypto image. Check to see that you have a k9 feature set (e.g. ipservicesk9). Then, make sure you have a hostname and domain name configured:
hostname core-router
ip domain-name company.com
Then you need to generate you RSA certificate:
crypto key generate rsa
When it prompts you for a modulus, choose one that is at least 1024 for best compatibility.
Next, configure a local username. If you are already using AAA you can skip this step:
aaa new-model
aaa authentication login default local
username sshuser password sshuser!@#
Finally, checkout the optional "ip ssh" commands to see if any of them are needed for your setup. However, at this point, you should be able to ssh to your router as sshuser (or whatever AAA users you have available).
See http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_configuration_guide_chapter09186a00800ca7d5.html#wp1007881 for the complete list of instructions.
05-02-2007 09:57 AM
Thanks Joe, That would be very helpful in getting started.
Regards
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: