ssh configuration on cisco router using IPv6

Posted: April 19, 2017 in ipv6
Tags: , ,

Here in this Lab we will learn how to configure ssh on cisco routers using IPv6.This is a Basic IPv6 Configuration Lab showing SSH configuration on router using IPv6 using cisco packet tracer.

ipv6 and ssh

STEP 1:Configure IPv6 address on router and Host PC.

 

Router>enable

Router#config t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#ipv6 unicast-routing

Router(config)#int fa0/0

Router(config-if)#ipv6 add 2000::1/64

Router(config-if)#no shut

 

 

STEP 2:Configure SSH on Cisco Router using IPv6.

 

Router>enable

Router#config t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#hostname linuxtiwary

linuxtiwary(config)#username satish password tiwary

linuxtiwary(config)#ip domain-name wordpress.com

 

 

linuxtiwary(config)#ip ssh version 2

Please create RSA keys (of at least 768 bits size) to enable SSH v2.

 

linuxtiwary(config)#crypto key generate rsa

The name for the keys will be: linuxtiwary.wordpress.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]

linuxtiwary(config)#ip ssh version 2

*Mar 1 0:3:6.105: %SSH-5-ENABLED: SSH 2 has been enabled

 

 

linuxtiwary(config)#ip ssh time-out 60

linuxtiwary(config)#ip ssh authentication-retries 3

 

linuxtiwary(config)#line vty 0 4

linuxtiwary(config-line)#login local

linuxtiwary(config-line)#transport input ssh

linuxtiwary(config-line)#exit

 

STEP 3:Check SSH connection from HOST PC.

 

Packet Tracer PC Command Line 1.0

PC>ssh -l 2000::1

Invalid Command.

PC>ssh -l satish 2000::1

Open

Password:

linuxtiwary>
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