Tuesday, January 24, 2012

simple ftp server

Lately vsftpd is growing in popularity.
But I installed ftpd as I didn't know vsftpd and works fine anyway.

Install (debian):
sudo apt-get install ftpd

You can deny access by:
  1. editing /etc/hosts.allow, hosts.deny
  2. editing /etc/ftpusers
  3. editing /etc/services
One thing I always forget is to do
/etc/init.d/openbsd-inetd restart
After updating /etc/services...

That's about it for the basics. Give it a try to copy stuffs from other servers or your cellphone (connect it to the same network with wifi), it's the fastest thing you can use.

No comments:

Post a Comment