Cisco’s SSH

SSH by default runs in compatibility mode; that is, both SSH Version 1 and SSH Version 2 connections are honored. You can limit the choice using the command ip ssh version. SSH Version 1 is a protocol that has never been defined in a standard as a result its best to always set the SSH version to 2.


Method 1 to enable SSH

Set the hostname (hostname xxx)

Set the domain name (ip domain-name xxx)
Generate the key pair (crypto key generate rsa)


Default: 512 bits (results in ssh v1.5)
               >=768 bits (results in ssh v2)
               2048 (max bit size)






Method 2 to enable SSH



ip ssh rsa keypair-name
crypto key generate rsa label abckey


Default: 512 bits (results in ssh v1.5)
               >=768 bits (results in ssh v2)
               2048 (max bit size)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s