LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   Debian headless ftp server administered threw ssh (http://www.linuxquestions.org/questions/debian-26/debian-headless-ftp-server-administered-threw-ssh-664611/)

lindylex 08-22-2008 10:04 AM

Debian headless ftp server administered threw ssh
 
I would like to create a headless ftp server that is administered threw ssh. I would like to use Debian with no desktop or window manager installed. I would like this to be very fast and all it will do is be a ftp server. If this is possible what ftp package do you suggest I use and any tip or website that explains this would be great? The ssh I already know.

Thanks, Lex

reddazz 08-22-2008 10:14 AM

VSTFPD and ProFTPD seem to be popular ftp servers. You can use some of the help docs at help.ubuntu.com for tips on how to install and setup these servers on Debian, Ubuntu and related distros.

lindylex 08-22-2008 10:30 AM

reddazz, thanks

lindylex 08-23-2008 01:38 AM

This was super easy to do. I installed Debian Etch Net Install C.D. When I got to the screen that asks if I want to install a Webserver, Desktop, Laptop, Fileserver etc. I ignore them all and choose the bare minimum system. It downloaded around 76 – 81 packages. I reboot eject the C.D. and I log into a nice terminal screen. I login in as “root” then run “aptitude update”, “aptitude upgrade” and “aptitude install vsftpd openssh-server”. I then opened port 22 on my router.

I used CuteFTP for Windows, it supports sftp protocol and I have not choosen a G.U.I. client for Linux yet. This was supper easy, disconnect the monitor reboot and all done. This took 15 minutes. Thanks Debian and all the great individual involved is such a great distro.

reddazz 08-26-2008 06:39 AM

I'm glad you got this working and you found the process easy. Debian is indeed a good server distro and its becoming a lot easier to setup and administer with each release.

pinniped 08-26-2008 07:01 AM

You may still want to look at making cracking the system just a little bit tougher - like running ftpd in a 'chroot jail' (although getting out of 'chroot' can be done in so many ways, it's at least one more barrier) or better still setting up the SELinux policies. FTP daemons have been a favorite of crackers over the decades.

I assume you're running FTP because you'll only have "guest" accounts? You should never use FTP for user accounts; that just gives people the opportunity to read account names and passwords in the clear.

I almost forgot to mention - you want to check regularly for rootkits as well, despite other steps you may take to limit damage. Don't you love the internet?


All times are GMT -5. The time now is 03:30 AM.