flupke wrote:
> rharvey wrote:
> >
> > I setup a linux box with the server choice and high
> security. I finally
> > found the place to turn on the web service. http web
> services are running
> > now. The ftp seems to be installed. all the info I have
> found says its all
> > set up but I can't ftp into the server. I need ftp to
> upload my web pages.
> > I also want telnet. It does not work either. i can ping
> the server. I can
> > go from the server to other computers thru telnet.
> First, make sure you have the telnet-server package installed.
> Then, enable the telnet and ftp servers in /etc/inetd.conf. I
> think you
> just should uncomment the lines corresponding to the servers.
> After you have done that, I think that it should be ok.
You will also need to change the /etc/hosts.allow and /etc/hosts.deny files.
By default on a high-security install the hosts.allow is empty and the
hosts.deny is set to ALL:ALL. Normally, you can leave the hosts.deny as it
is, and let hosts.allow act as the exception list.
My /etc/hosts.allow (where 192.168.0.10 is my remote PC and 192.168.0.200 is
another user's PC):
--SNIP--
in.ftpd : 127.0.0.1 192.168.0.10
in.telnetd : 127.0.0.1 192.168.0.10
sshd : 127.0.0.1 192.168.0.10 192.168.0.200
--SNIP--
In my server installation, I did not need to change my inetd.conf to set up
telnet or FTP (or SSH for that matter).
> But if you care about security, I think you'd better forget
> about telnet
> and install ssh instead.
Telnet and FTP are installed in a server installation, and the security
configuration does allow users to telnet it - problem is the allow files
don't let anyone access the system from remote using FTP or telnet unless
you make those changes.
I also recommend you install SSH.
Chris.