ftp server

Robert Heller heller at deepsoft.com
Sun Dec 16 14:19:03 UTC 2018


At Sun, 16 Dec 2018 19:11:05 +1100 "Ubuntu user technical support,  not for general discussions" <ubuntu-users at lists.ubuntu.com> wrote:

> 
> 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.

Anonomus FTP is also still valid for downloading public files from a public 
FTP file server.  Otherwise, yes, FTP should not be used for anything else.  
There is no longer any valid reason to.

All tools which used to use FTP (eg HTML editors and the like) now all suport 
sftp, which is imlemented in the OpenSSH server, which is installed by default 
with most Linux dristos (or can be trivially installed on all Linux dristos).

> 
> Regards, K.
> 

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller at deepsoft.com       -- Webhosting Services
            




More information about the ubuntu-users mailing list