SSH configuration on Cisco router

80 pts.
Tags:
Cisco
Cisco router configuration
Cisco Routers
Router configuration
Routers
SSH
Please provide me a step to step detail configuration of SSH. Thanks..
ASKED: June 4, 2009  11:16 AM
UPDATED: August 4, 2009  3:02 AM

Answer Wiki

Thanks. We'll let you know when a new response is added.

First configure the hostname and a domain

<b>hostname My-Router
ip domain-name My-Company.com</b>

Then generate your SSH keys

<b>cry key generate rsa</b>

Create some usernames and passwords

<b>username Fred secret Wilma</b>

Do as many of these as you need, and they can also apply the level that this gives them access. IT can also be centralised using TACACS+ or RADIUS.

Then configure the vty ports for SSH

<b>line vty 0 4
login local
transport input ssh</b>

That should get things working for you. If I have forgotten anything (which I don’t think I have) I am sure someone will correct me ;-)

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Vinesh1234
    What router are you using?
    0 pointsBadges:
    report
  • BlankReg
    Doesn't really matter - it is a Cisco, so uses IOS, and the commands are the same for almost all of them.
    12,325 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following