Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't access the router using SSH and Telnet

Status
Not open for further replies.

hummer3331973

Technical User
Feb 1, 2007
121
US
Anyone have any ideas why I can't a access this router on Telnet and SSH using Putty?

Thanks,
Newbie

line 194
no activation-character
no exec
transport preferred none
transport input all
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
line vty 0 4
login local
transport input ssh
 
Yeah - in fact the "transport input ssh" isn't actually what enables SSH, it's actually "crypt key gen rsa" that does it.
 
line vty 0 4
login local
transport input ssh

That last line should read transport input telnet to allow telnet traffic. Vince is also right, you need to enable SSH on the cisco first by using that command "crypto key generate rsa
 
And ip domain-name

Need that for ssh...

/

tim@tim-laptop ~ $ sudo apt-get install windows
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package windows...Thank Goodness!
 
Ok. If it's not SSH and Telnet, how can I access the router remotely?

I can definitely ping the router, but when trying to connect, I'm getting the error that the remote host is refusing it.

Many thanks,
Newbie
 
transport input ssh" <-- this lines *disables* telnet access, but does not enable SSH.

You will need to use the console to login.
 
I notice you said "remotely".

What I do in that sort of case is ring somebody on-site and ask them to see if there is a server or PC next to the switch I need console access to. I ask them to connect the Cisco console lead (which I always leave on-site when I setup a switch/router/FW) to the serial port in the Server/PC. I then RDP to the server/PC, fire up Hypertrm on it and console into the switch, remotely.
 
I was able to log-in to the router by replacing SSH with Telnet as advised above from the console port.

Thanks.
 
Hummer3331973,

Just as a side note - unless this is a lab you should configure SSH and disable telnet for security


Stubnski
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top