Skip navigation
Cisco Learning Home > CCENT/CCNA R&S Study Group > Discussions
This Question is Not Answered 1 Correct Answer available (4 pts)
5072 Views 3 Replies Latest reply: Nov 2, 2012 10:49 AM by Darren Guse RSS

Currently Being Moderated

HOW TO LOGIN TO ROUTER USING SSH ?

Mar 22, 2013 2:28 PM

1byn_mncn 92 posts since
Sep 5, 2012

how do we login to a router(or maybe switch) using SSH from a desktop/laptop ? I have always logged in only using telnet.

 

What I do to be able to login using telnet is :

 

BigRouter11(config)#interface loopback 5

BigRouter11(config-if)#ip address 10.0.0.1 255.0.0.0

BigRouter11(config-if)#no shut

BigRouter11(config-if)#end

 

BigRouter11#conf t

BigRouter11(config)#line vty 0 3

BigRouter11(config-line)#

BigRouter11(config-line)#password telnetlogin

BigRouter11(config-line)#login

BigRouter11(config-line)#exit

BigRouter11(config)#exit

BigRouter11#

 

Once done this much, in the PC command prompt I type : telnet 10.0.0.1

and done- I am in the router CLI once in enter the password.  (Although i am even able to login to router by telneting the interface IP to which the PC is connected, but mostly use the loopback int instead... not sure why ... )

 

WHAT CONFIGURATION SHOULD I MAKE IN THE ROUTER AND THE PC TO BE ABLE TO LOGIN TO THE ROUTER USING SSH ??

 

when i had to do it for first time first time i tried :  ssh 10.0.01 and i got the message INVALID COMMAND ....

 

Regards,

Actions

More Like This

  • Retrieving data ...

Bookmarked By (1)