Good day,
I have a Mandrake 9.0 server running ProFTPd and SSHd.
I want both servers to be accessible from the Internet, while maintaining a decent security
level for non-critical data.
The box itself is running at the paranoid level, so everything is sealed off (more or less?)
I have opened port 21 and 22 for FTP and SSH respectively in the firewall.
Problems I ran into are;
ProFTPd runs, has a separate disk for /var/ftp and can serve files from there with the separate
username/password I created for that purpose. Anonymous access was left unconfigured.
What doesn't seem to work with this setup is:
From the outside (office, or other locations across the globe) using an ftp client program to
access ProFTPd. however, accessing the server through a webbrowser using the address
ftp://userassword@server.net seems to work just fine.
From the inside: either a browser or a client program works just fine.
Question: How do I enable both ftp client logins and browser logins from the outside?
SSHd runs, mostly with default settings. a few select users are granted access to SSH.
What doesn't seem to work with this setup is:
SSHd doesn't seem to allow connections, instead when you try to ssh into the machine
you get hung up for a second or two, and get disconnected. The port is open, and the
service is running, so I assume this has to do with a security setting somewhere but I
have been unable to pinpoint which setting exactly should be changed.
connecting fails regardless of trying to connect from the inside or the outside of the box.
Question: How do I get SSHd to accept connections? are there certificates/keys I need
to set up, and if yes, how? when using certificates/keys, how do I utilise these when using
a client program such as PuTTY or on the command line ssh client?
Thanks in advance and have a nice day.