ftp server

Karl Auer kauer at biplane.com.au
Sun Dec 16 08:11:05 UTC 2018


On Sat, 2018-12-15 at 23:41 -0800, Bob wrote:
> I want to setup an ftp server in Ubuntu to serve data to a system
> running in VirtualBox.  The os in the VirtualBox does not have much
> support so I can not use shared files.
> 
> what is a good (simple) ftp server to use in this case?

Firstly, only use FTP if you absolutely control every link between the
sender, the server and the receiver. Or have a virtual link that you
control such as a VPN. FTP is a clear-text protocol

A FAR better idea is to use SFTP - FTP over SSH. Setting that up is
amazingly simple, it's built into the SSH server supplied with every
Ubuntu distribution. You just add about four lines to
/etc/ssh/sshd_config.

Add (or uncomment) this line:

Subsystem sftp	/usr/libexec/openssh/sftp-server

Optionally add lines similar to these:

Match Group sftp_users
   ChrootDirectory /home/%u
   ForceCommand internal-sftp

You'll need a suitable group "sftp_users", and you will need to put
SFTP users into that group. The chroot line is optional, but
recommended. It does impose very strict permissions requirements on
home directories.

I suggest you google how to do this rather than use my suggestions.

For actual FTP, vsftpd is about the best out there. Supports both FTP
and SFTP.

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389

GPG fingerprint: A0CD 28F0 10BE FC21 C57C 67C1 19A6 83A4 9B0B 1D75
Old fingerprint: A52E F6B9 708B 51C4 85E6 1634 0571 ADF9 3C1C 6A3A






More information about the ubuntu-users mailing list