help enabling ssh

Answered Question
Jun 24th, 2009

Hi,

I have one 2811 router configurated with ssh enabled and I need to configure another one. The IOS version of the one configurated is 12.4(13b) and the other one is 12.4(9)T7.

I've read the documentation to enable ssh, but this router I have doesn't have

'ip domain-name' nor 'crypto key' configured, but you can connect it via shh and I wonder if there is a way to configure it without crypto key.

The configuration of line vty is:

line vty 0 4

exec-timeout 60 0

privilege level 15

password 7 09595A0439161213

login local

transport input telnet ssh

!

Thanks and regards

I have this problem too.
0 votes
Correct Answer by davy.timmermans about 7 years 5 months ago

ip domain-name is used for the creation of the SSH keys

hostname.domainname

maybe afterwards the domain name has been removed or the key is generated with a 'label' parameter. With the label, hostname.domainname is not used for the creation of keys

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
davy.timmermans Wed, 06/24/2009 - 01:08

probably a key has been generated:

show crypto key mypubkey rsa

the generated key is most of the time not in the config.

usuario0001 Wed, 06/24/2009 - 01:21

you are right, I can see the crypto with that command.

And what about the 'ip domain-name', do I have to configure it, because in the router it isn't configurated:

no ip domain lookup

Thanks and regards

Correct Answer
davy.timmermans Wed, 06/24/2009 - 01:36

ip domain-name is used for the creation of the SSH keys

hostname.domainname

maybe afterwards the domain name has been removed or the key is generated with a 'label' parameter. With the label, hostname.domainname is not used for the creation of keys

Actions

This Discussion