top of page

SFTP server with VSFTPD

Updated: Nov 23, 2020

$ sudo apt install ssh

$ sudo nano /etc/ssh/sshd_config

and append the following to the end of the file:

Match group sftp ChrootDirectory /home X11Forwarding no AllowTcpForwarding no ForceCommand internal-sftp

$ sudo service ssh restart

$ sudo addgroup sftp Adding group `sftp' (GID 1001) ... Done.

$ sudo useradd -m sftpuser -g sftp

$ sudo passwd sftpuser Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully

$ sudo chmod 700 /home/sftpuser/

Recent Posts

See All

Comentarios


Contact Me

Tel: 678-642-8051

cspeed@jcsassoc.com

  • Google+ Long Shadow
  • LinkedIn Long Shadow
  • Facebook Social Icon
  • Twitter Long Shadow

© 2005 by Christopher Speed

Your details were sent successfully!

bottom of page