06-13-2021 07:34 AM - edited 06-13-2021 08:25 AM
Hello
I cant connect to my router (cisco 881)
with telnet, only console working
I use this manual
https://www.technig.com/enable-telnet-and-ssh-on-cisco-router/
try with windows client, putty and linux - not working
abc@abc:~$ telnet 192.168.11.1 24
Trying 192.168.11.1...
telnet: Unable to connect to remote host: Connection refused
i can ping router and from router can ping pc
need help please
Solved! Go to Solution.
06-13-2021 10:01 AM
- Verify the vty settings in the running configuration , make sure it includes transport input telnet
M.
06-13-2021 10:01 AM
- Verify the vty settings in the running configuration , make sure it includes transport input telnet
M.
06-13-2021 10:33 AM
I think we need to see the complete configuration of vty, and in fact might need to see the complete configuration. The suggestion from @marce1000 is a good starting point, but it is quite possible that you will not see transport input telnet and that not be a problem. We are not sure what model of router this is, the default for most Cisco routers is transport input all. So telnet would be included but would not show up in running config.
In looking at the vty config we would want to be sure about what transport is specified and also to see if access-class is used with the vty. I would also want to see the interface configuration, especially to see if any access-group is applied which might impact telnet.
06-13-2021 11:07 AM
i cant post any code because of syntax error sign in red (
06-13-2021 11:17 AM
I am not seeing anything in red. If there are problems in posting code then we may need to find other ways to look into this. If you are connected on the console, can we assume that you have enable privileges for your session? Perhaps the output of show log might contain messages that shed some light on this? Or perhaps turn on debug for telnet, attempt telnet from the PC, on the console do show log and post debug output.
06-13-2021 08:00 PM - edited 06-13-2021 08:05 PM
06-14-2021 07:24 AM
I am surprised that you had problems in posting the output. The error message seems to indicate that the community detected that you attempted to post it multiple times. I would have thought that at least the first one should have gotten through.
06-13-2021 11:51 AM
I cant connect to my router (cisco 881)
What is the Device IP address from you trying to connect ?
If you have console access - please post running config.
the URL provided not given full Telnet config (like VTY lines config)
if you follow the document and configured are you able to SSH ? (since the document restricted to SSH only) so telnet not going to work.
as soon as you issue this command :
R1(config)#line vty 0 R1(config-line)#transport input ssh
No More telnet works, Try and test it.
R1(config)#line vty 0 R1(config-line)#transport input all
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide