Telnet VTY “% Connection refused by remote host”

While setting up my router to be accessible over VTY ran into an issue:

Router#telnet 10.1.1.1
Trying 10.1.1.1 …
% Connection refused by remote host

Looking at my default configuration for VTY I found the following:

line vty 0 4
transport input none

With the default configuration, no remote host will be able to access the device as all protocols are disabled. If you want to enable specific or all protocols for inbound VTY access here are your options:

WA-ROUTER(config-line)#transport input ?
all All protocols
lapb-ta LAPB Terminal Adapter
lat DEC LAT protocol
mop DEC MOP Remote Console Protocol
none No protocols
pad X.3 PAD
rlogin Unix rlogin protocol
ssh TCP/IP SSH protocol
telnet TCP/IP Telnet protocol
udptn UDPTN async via UDP protocol
v120 Async over ISDN

Now that I changed my VTY config to allow all protocols:

 

WA-ROUTER#show run | b line
line vty 0 4
transport input all

I’m able to telnet in remotely:

Router#telnet 10.1.1.1
Trying 10.1.1.1 … Open

User Access Verification

 

 

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 )

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 )

w

Connecting to %s