LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 08-22-2008, 10:04 AM   #1
lindylex
Member
 
Registered: Mar 2007
Posts: 166

Rep: Reputation: 17
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
 
Old 08-22-2008, 10:14 AM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
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.
 
Old 08-22-2008, 10:30 AM   #3
lindylex
Member
 
Registered: Mar 2007
Posts: 166

Original Poster
Rep: Reputation: 17
reddazz, thanks
 
Old 08-23-2008, 01:38 AM   #4
lindylex
Member
 
Registered: Mar 2007
Posts: 166

Original Poster
Rep: Reputation: 17
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.
 
Old 08-26-2008, 06:39 AM   #5
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
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.
 
Old 08-26-2008, 07:01 AM   #6
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
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?

Last edited by pinniped; 08-26-2008 at 07:02 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh / ssl ftp server eRJe Linux - Security 5 07-16-2008 04:58 PM
FTP and SSH server ports IBall Linux - Networking 1 12-01-2005 04:29 AM
stalled error threw ftp installation (openBSD) klemen *BSD 1 08-22-2005 10:34 AM
Installing ftp on linux threw ssh des1017 Linux - Newbie 1 10-16-2004 03:34 PM
Unable to access my ssh server and ftp server from the Internet, but smtp works foxone Linux - Networking 1 05-28-2004 05:17 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration