DevHeads.net

Reply to comment

Re: FTP/sFTP problem

By Karl Auer at 09/09/2018 - 08:41

On Sun, 2018-09-09 at 08:02 -0400, william drescher wrote:
You have not said whether the server or your client system was upgraded
to 16.04LTS. Since changing the client is very unikely to have the
effect you describe, I'm assuming you upgraded the server.

SFTP is usually done by turning on the SFTP server functionality in the
sshd daemon (the ssh server).

Look in /etc/ssh/sshd_config towards the end and make sure that this
line is uncommented:
 
   Subsystem sftp /usr/lib/openssh/sftp-server

Then restart the sshd daemon:

   sudo systemctl restart ssh

I'd be surprised if it were commented out - I think it comes enabled by
default. Anyway, first thing to check, maybe a good place to start.

By the way, this is secure enough for a trusted, small group of sftp
users. If you are running a larger server or have randoms connecting,
you might want to turn on a few more features like chroot and sftp-
only. That's an altogether bigger question though :-)

Regards, K.

Reply