cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1874
Views
1
Helpful
4
Replies

been through ssh set up several times!!!!

Choose the size of the key modulus in the range of 360 to 2048 for your

General Purpose Keys. Choosing a key modulus greater than 512 may take

a few minutes.

 

How many bits in the modulus [512]: 2048

% Generating 2048 bit RSA keys, keys will be non-exportable...[OK]

 

sshrouter(config)#ip ssh version 2

*Mar 1 0:45:58.864: %SSH-5-ENABLED: SSH 1.99 has been enabled

sshrouter(config)#

sshrouter(config)#

sshrouter(config)#sh ssh

^

% Invalid input detected at '^' marker.

 

sshrouter(config)#do sh ssh

%No SSHv2 server connections running.

%No SSHv1 server connections running.

 

I have been back and used 

#crypto key zeroize rsa

 

Then restarted again but cannot get it to work

sshrouter(config)#do sh ssh

%No SSHv2 server connections running.

%No SSHv1 server connections running.

sshrouter(config)#

sshrouter(config)#

sshrouter(config)#do sh ip ssh

SSH Disabled - version 2

%Please create RSA keys (of atleast 768 bits size) to enable SSH v2.

Authentication timeout: 120 secs; Authentication retries: 3

sshrouter(config)#ip domain-name cisco.com

sshrouter(config)#crypto key generate rsa

The name for the keys will be: sshrouter.cisco.com

Choose the size of the key modulus in the range of 360 to 2048 for your

General Purpose Keys. Choosing a key modulus greater than 512 may take

a few minutes.

 

How many bits in the modulus [512]: 2048

% Generating 2048 bit RSA keys, keys will be non-exportable...[OK]

 

sshrouter(config)#ip ssh version 2

*Mar 1 0:50:1.838: %SSH-5-ENABLED: SSH 2 has been enabled

sshrouter(config)#

sshrouter(config)#transport input ssh

^

% Invalid input detected at '^' marker.

 

sshrouter(config)#do sh ssh

%No SSHv2 server connections running.

%No SSHv1 server connections running.

 

 

4 Replies 4

Hi

 This is probably GNS3, correct?

If GNS3 dont waste time on this router. Just add another router and repeat the process which is really simple and you know already.

aaa new-model

ip domain-names 'domain'

hostname 'hostname

crypto key generate rsa 'key'

ip ssh version 2

 

 I just had the same problem here. Tried many times in one router with no success and then the other I got  it to work with the same process.

 

ciscp#sh ssh
Connection Version Mode Encryption Hmac State Username
0 2.0 IN aes256-cbc hmac-sha1 Keys exchanged -
0 2.0 OUT aes256-cbc hmac-sha1 Keys exchanged -
%No SSHv1 server connections running.

Hi, doing this in packet tracer on a 2910

 

have had this work before but just can't get it to work today

For Packet Tracer, even though the router shows :

%No SSHv2 server connections running.

%No SSHv1 server connections running.

 

Goes to a machine and fire up an SSH session. I got this same situation as well.

After tried to access, the service came up

 

myrouter(config)#do show ss

Connection Version Mode Encryption Hmac State Username

323 1.99 IN aes128-cbc hmac-sha1 Session Started flavio

323 1.99 OUT aes128-cbc hmac-sha1 Session Started flavio

%No SSHv1 server connections running.

try to ssh device after correct process you did. it will work even though it says server is not running.

Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB
Review Cisco Networking for a $25 gift card