ssh configuration on cisco router using IPv6

Posted: 19 Apr 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#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#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



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:

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



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




Leave a Reply

Please log in using one of these methods to post your comment: Logo

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.