[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Don't allow incoming telnet

RC> Hi.
RC> How do I stop telnet sessions coming IN?
RC> (I only want users to use ssh)

RC> grep telnet /etc/services shows:
RC>     telnet          23/tcp
RC>     rtelnet         107/tcp    # Remote Telnet
RC>     rtelnet         107/udp
RC>  telnet /etc/services shows:
RC>     telnet         stream  tcp     nowait  \
RC>     telnetd.telnetd /usr/sbin/tcpd  /usr/sbin/in.telnetd
RC> Presumably I can just uncomment the /etc/services entry?

Do you mean /etc/inetd? If so than you are right - you should uncomment
/etc/inetd entry and restart inetd: '/etc/init.d/inetd restart'

| Ilya Martynov (http://martynov.org/)                                    |
| GnuPG 1024D/323BDEE6 D7F7 561E 4C1D 8A15 8E80  E4AE BE1A 53EB 323B DEE6 |
| AGAVA Software Company (http://www.agava.com/)                          |

Reply to: