Need help telnetting into my Ubunto box
by WindsorKnot from LinuxQuestions.org on (#5J68H)
Hi fellas - pretty new to Linux over here; I have an ASUS Eee netbook running Ubuntu 14.04. I would like to learn a little C programming in my downtime and the devshed IDE and CodeBlocks both hurt my eyes; meanwhile the netbook's keyboardette hurts my hands. :/
So I want to configure Telnet service on the netbook so I can use the vi editor and the gcc compiler from my physically-comfier HP laptop. (Telnet's security deficiencies are a non-issue because this is a self-contained three-node network in my home; it does not connect to the Internet.)
I followed the instructions here to get the telnet service installed and running
http://jdav.is/2018/04/22/installing...-ubuntu-linux/
I have verified a successful IPv4 connection between the netbook and my Windows laptop via crossover Ethernet cable and ping test.
When I did the "ss -tnlp" command I get two sets of output under the headers State, Recv-Q , Send-Q,Local Address:Port, Peer Address:Port
LISTEN 0 128 127.0.0.1:631 *:*
users:(("cupsd",1872,11))
LISTEN 0 128 ::1:631 :::*
users:(("cupsd",1872,10))
so... confused about this. What is :631 doing there when /etc/services clearly shows telnet on port 23; Why does that second line look like maybe an IPv6 address in which case that loopback is the only IPv4 addy in the picture even though there's a healthy IPv4 link on eth0 (192.168.1.1/24).
From my Windows command line I try
telnet 192.168.1.1
and I get
Connecting To 192.168.1.1...Could not open connection to the host, on port 23: Connect failed
What else needs doing to get the telnet service up and running and connectable-to on my li'l ol Netbook?
Thanks :)
So I want to configure Telnet service on the netbook so I can use the vi editor and the gcc compiler from my physically-comfier HP laptop. (Telnet's security deficiencies are a non-issue because this is a self-contained three-node network in my home; it does not connect to the Internet.)
I followed the instructions here to get the telnet service installed and running
http://jdav.is/2018/04/22/installing...-ubuntu-linux/
I have verified a successful IPv4 connection between the netbook and my Windows laptop via crossover Ethernet cable and ping test.
When I did the "ss -tnlp" command I get two sets of output under the headers State, Recv-Q , Send-Q,Local Address:Port, Peer Address:Port
LISTEN 0 128 127.0.0.1:631 *:*
users:(("cupsd",1872,11))
LISTEN 0 128 ::1:631 :::*
users:(("cupsd",1872,10))
so... confused about this. What is :631 doing there when /etc/services clearly shows telnet on port 23; Why does that second line look like maybe an IPv6 address in which case that loopback is the only IPv4 addy in the picture even though there's a healthy IPv4 link on eth0 (192.168.1.1/24).
From my Windows command line I try
telnet 192.168.1.1
and I get
Connecting To 192.168.1.1...Could not open connection to the host, on port 23: Connect failed
What else needs doing to get the telnet service up and running and connectable-to on my li'l ol Netbook?
Thanks :)