I have telnet (without creds) enabled on multiple ports on my ubuntu due to an application running on it. Can you guide me on how to add a username/password for multiple ports listening for telnet .
I followed these instructions but when doing telnet localhost
or telnet localhost 23
, getting unable to connect to remote host: connection refused
.
I also shut down firewall: sudo ufw disable
.
When doing sudo /etc/init.d/xinetd status
I get active (running)
I can do telnet
to the internet e.g. telnet google.com 80
(I know this is telnet
client)
More information: version 18.04.1 TLS, running on Oracle VM VirtualBox.
I installed Ubuntu server and I am learning to how secure it.
One of the article I saw, was about telnet and how to disable it on CentOS
Obviously, it does not work on Ubuntu, so How can I disable Telnet on Ubuntu server?
ll /etc/xinetd.d/telnet
ls: cannot access /etc/xinetd.d/telnet: No such file or directory
I have a new Ubuntu install where I am not able to connect to localhost or 127.0.0.1 or using my computer name.
telnet localhost
[tried all/no port numbers]
returns
telnet: Unable to connect to remote host: Connection refused
Is there any configuration I need to do to make this work? Would it be disabled by default??