Hello guys, I am new to using Linux and trying to setup telnet server on CentOS 7. After installing with "yum install telnet telnet-server".
I tried editing the /etc/xinetd.d/telnet file which I could not find. Please what am I not doing right?
netstat: /proc/net/tcp6: No such file or directory netstat: /proc/net/udp6: No such file or directory netstat: /proc/net/raw6: No such file or directory tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN
#<service_name> <sock_type> <proto> <flags> <user> <server_path> <args> 21 stream tcp nowait root ftpd ftpd /etc telnet stream tcp nowait root /usr/sbin/telnetd
504 Gateway Timeout Gateway timeout expired while waiting for server response.
# telnet 10.2.29.201 Trying 10.2.29.201... connected to 10.2.29.201. Escape character is '^]' Connection closed by foreign host.
telnet mail.ourdomain.com 25 helo mail.ourdomain.com mail from: unknown@anyname.com rcpt to: anyemailid@ourdomain.com data from: "Any Unknow name" <unknown@anyname.com> to: "Some user Name" <anyemailid@ourdomain.com> subject: Testing MTA with telnet Hi, This way anybody can fool us. Regards, . quit
#<service_name> <sock_type> <proto> <flags> <user> <server_path> <args> ftp stream tcp nowait root /usr/bin/ftpd ftpd -w telnet stream tcp nowait root /usr/sbin/telnetd