How To forum

Question

Testing SSH - Configuring a test router

by SuperNetwork / September 8, 2013 7:54 PM PDT

Hello all,

I was given a project at work to implement SSH on all of our routers and switches. We have branches all over the world so it's approximately 50 or so of both routers and switches. I'm referring to several websites on how to implement SSH (as well as CBT nuggets), but the problem is, I'm having a bit of difficulty putting an IP address on a router. Yes, I'm having trouble with that!

My test router is an 871. Do I put an IP address on vlan1? I'm also not sure what IP address (or if I can just put a random private IP address) to put on it. My work computer's ip info is:

IPv4 address: 10.1.250.130
Subnet: 255.255.252.0
Gateway: 10.1.248.1

The above may not be important, since the router's FE0 port is connected to a 48 port switch I have connected to another port in my office.

Any help is appreciated!

Answer This Ask For Clarification
Discussion is locked
You are posting a reply to: Testing SSH - Configuring a test router
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Testing SSH - Configuring a test router
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.

All Answers

Collapse -
Answer
For this one, we talk to Cisco.
by R. Proffitt Forum moderator / September 9, 2013 12:08 AM PDT
Collapse -
Answer
configuring a test router with ssh
by hebert123 / September 11, 2013 4:28 AM PDT

1. Specify the Host name.

block quote
Router(config)#hostname <host name>
block quote end
2. Define a default domain name.

block quote
Router(config)#ip domain-name <Domain Name>
block quote end
3. Generate RSA key pairs.

block quote
Router(config)#crypto key generate rsa
block quote end
4. Configure SSH-RSA keys for user and server authentication.

block quote
Router(config)#ip ssh pubkey-chain
block quote end
5. Configure the SSH username.

block quote
Router(conf-ssh-pubkey)#username <user name>
block quote end
6. Specify the RSA public key of the remote peer.

block quote
Router(conf-ssh-pubkey-user)#key-string
block quote end
7. Specify the SSH key type and version. (optional)

block quote
Router(conf-ssh-pubkey-data)#key-hash ssh-rsa <key ID>
block quote end
8. Exit the current mode and return to privileged EXEC mode.

block quote
Router(conf-ssh-pubkey-data)#end
block quote

Popular Forums
icon
Computer Help 49,613 discussions
icon
Computer Newbies 10,349 discussions
icon
Laptops 19,436 discussions
icon
Security 30,426 discussions
icon
TVs & Home Theaters 20,308 discussions
icon
Windows 10 360 discussions
icon
Phones 15,802 discussions
icon
Windows 7 7,351 discussions
icon
Networking & Wireless 14,641 discussions

Smartphone tip

Hoarding photos on your phone?

Those picture are hogging memory and could be slowing down your phone.