Cisco IPv6 Training

 

Enabling SSH on a Cisco IPv6 Router

 

By Charles Ross CCNP #CSCO10444244

 

Secure Shell or “SSH” is an Application layer protocol that uses a secure channel; the secure channel ensures that the data being exchanged between two IP devices is totally secure (encrypted).

 

A Cisco IPv6 router can either act like a SSH server or a SSH client. When a Cisco IPv6 router is acting like a SSH server, it allows a SSH client (IP device) to make a secure, encrypted connection to the Cisco router; and when a Cisco IPv6 router is acting like a SSH client, it is able to make a secure, encrypted connection to another Cisco router or to any other IP device running as a SSH server.

 

Now, before you can enable Secure Shell or “SSH” on a Cisco IPv6 router, the router must meet certain requirements and those requirements are:

 

 

 

 

 


Here are the steps to enable SSH (SSH server) on an IPv6 router:

 

  1. Router>enable

  2. Router#configure terminal

  3. Router(config)#ip ssh [timeout seconds | authentication-retries integer]

  4. Router(config)#exit

  5. Router#copy run start

  

Steps Explained 

 

Step #1 

1. Router>enable

 

Puts router into Privileged EXEC mode.

 

Step #2  

2. Router#configure terminal

 

Puts router into Global configuration mode.

 

Step #3 

3. Router(config)#ip ssh timeout 100 authentication-retries 2

 

Configures the SSH (server) control variables on the router.

 

Step #4

 

4. Router(config)#exit

 

Causes router to exit global configuration mode and re-enters into Privileged EXEC mode.

 

Step #5

 

5. Router#copy run start

 

Saves the contents of the running-config to local Non -Volatile Random Access Memory (NVRAM).


 

Here are the steps that allow a Cisco IPv6 router that is acting like a SSH client to initiate an encrypted SSH session with a remote networking device.

 

Router>enable

Router#ssh [-v {1 | 2}] [-c {3des | aes128-cbc | aes192-cbc | aes256-cbc}] [-l userid | -l userid:{number}{ip-address} | -l userid:rotary{number} {ip-address}] [-m {hmac-md5 | hmac-md5-96 |

hmac-sha1 | hmac-sha1-96}] [-o numberofpasswordprompts n] [-p port-num] {ip-addr |

hostname} [command]

 

Steps Explained

 

 

Step #1 

1. Router>enable

 

Puts router into Privileged EXEC mode.

 

Step #2  

2. Router#ssh

 

Initiates an encrypted session with a remote networking device.

 

 

To your success,

 

Charles Ross

 

CCNP #CSCO10444244

 

www.ciscoipv6ittechtips.com