Setup SFTP in Linux
Steps to Configure SFTP in Linux
export SFTP_HOME_PATH=/srv/sftpuser
export SFTP_USER_GROUP=sftpgroupsudo apt-get update
sudo apt-get upgrade -ysudo apt install ssh -ysudo nano /etc/ssh/sshd_configMatch Group <SFTP_USER_GROUP>
ChrootDirectory <SFTP_HOME_PATH>
X11Forwarding no
AllowTcpForwarding no
ForceCommand internal-sftp
PasswordAuthentication yes
PermitRootLogin noHandling Downtime
Last updated