Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

help enabling ssh

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

1 ACCEPTED SOLUTION

Accepted Solutions

Re: help enabling ssh

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

4 REPLIES

Re: help enabling ssh

probably a key has been generated:

show crypto key mypubkey rsa

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

New Member

Re: help enabling ssh

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

Re: help enabling ssh

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

New Member

Re: help enabling ssh

ok, I've configured it like that.

Thanks and regards

106
Views
0
Helpful
4
Replies
CreatePlease login to create content