12-13-2007 01:10 AM - edited 03-03-2019 07:54 PM
Hi, I have added SSH version 2 a Cisco 1841 router and it works. However, what domain name should I use? Is it important? I don't want to add the companies Windows Active Directory Domain name or website name, can it be anything?
I added:
ip Domain Name domain.com
ip ssh version 2
line vty 0 4
transport telnet ssh
Thanks
Solved! Go to Solution.
12-13-2007 01:29 AM
It can be anything.
It is just required before generating the RSA key for SSH
HTH
Narayan
12-13-2007 01:29 AM
It can be anything.
It is just required before generating the RSA key for SSH
HTH
Narayan
12-13-2007 01:47 AM
I get the message
"Please create RSA keys to enable SSH."
12-13-2007 03:23 AM
Hi,
You have to generate an RSA key pair for your router, which automatically enables SSH: "crypto key generate rsa".
HTH,
Mohammed Mahmoud.
12-13-2007 03:26 AM
Do I need to remove "ip ssh rsa keypair-name corpdomain.com
"
12-13-2007 03:29 AM
Hi,
The ip ssh rsa keypair-name command was introduced in Cisco IOS Release 12.3(4)T so that you can enable a SSH connection using RSA keys that you have configured. Previously, SSH was linked to the first RSA keys that were generated (that is, SSH was enabled when the first RSA key pair was generated). The behavior still exists, but by using the ip ssh rsa keypair-name command, you can overcome that behavior. If you configure the ip ssh rsa keypair-name command with a key-pair name, SSH is enabled if the key pair exists, or SSH will be enabled if the key pair is generated later. If you use this command to enable SSH, you are not forced to configure a host name and a domain name, which was required in SSH Version 1 of the Cisco IOS software.
HTH,
Mohammed Mahmoud.
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