12-27-2004 10:02 AM
Hi All,
How do I setup ssh on the routers so the router at the main office able to connect to the routers at the branch office?
TIA
-- Tho Tran --
12-29-2004 12:48 AM
From memory,
First make sure your IOS supports SSH
Then you need to create a domain name on your router
#ip domain-name
then create your key
#crypto key gen rsa
then allow telnet to your vty lines and perhaps disable telnet.
#line vty 0 4
#transport input ssh
Rgds
PD
12-29-2004 04:53 AM
Anyone know when inband communication with Cisco routers and switches will be encrypted by default? I am referring to the use of SSH and SCP as a replacement for Telnet and FTP/TFTP.
12-29-2004 01:45 PM
Thanks for the info. I used Putty as client to connect from PC to router. What CLI do I use to connect from one router to the another router?
TIA
-- Tho Tran --
12-29-2004 03:25 PM
You can use
ssh
there are a few options you can use with ssh from a router to a router, i can't remeber them at the moment, i think "ssh -l des" specificies the cipher
best to enter "ssh ?" from the cli
HTH
Paddy
01-04-2005 08:23 AM
Paddy,
Do I need to do this for both routers? Why do we need domain-name (just curious)?
--Tho Tran --
#ip domain-name
then create your key
#crypto key gen rsa
then allow telnet to your vty lines and perhaps disable telnet.
#line vty 0 4
#transport input ssh
01-04-2005 08:55 AM
You would need to do this on both routers.
The simple answer about why you need the domain name is that generating RSA keys requires a domain name and you can not generate keys until you configure a domain name. Explaining why RSA requires a domain name to generate keys is quite complicated and has to do with how they identify the key contents.
HTH
Rick
01-04-2005 01:54 PM
Everything is up and running. Thanks all for your help but I have one small question. It doesn't prompt username but password instead when I ssh from router to router but it prompt username when I use Putty from PC. It is kindda odd.
-- Tho Tran --
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide