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

Re: telnet/ftp sever




But even I tried to telnet (ftp)localhost, I got error: telnet: connect to address 127.0.0.1: Connection refused I read the previous posts about telnet/pop3, it seemed not help.


Telnet is not secure like SSH and seems to be off (a good thing) by default.


you can do #chkconfig --list | grep telnet

to see if it's on. if not..

#chkconfig telnet on
#/etc/init.d/xinetd restart

A good hosts.deny/allow setup denies everything then allows only what is needed to the host that needs it.

/etc/hosts.deny
ALL:ALL #all ports : all hosts

/etc/hosts.allow
in.telnetd:127.0.0.1 #telnet : localhost
in.telnetd:your.home.ip.address #telnet : your home ip address

#note these will be allowed even though ALL:ALL exists in hosts.deny
#because this file is checked first.

Ben

---
[This E-mail scanned for viruses]





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