From 862bfc5f718b2fc7c393669f309ce26ee68b261f Mon Sep 17 00:00:00 2001 From: Scott Duensing Date: Wed, 21 Sep 2022 20:40:08 -0500 Subject: [PATCH] SFTP setup bugs squashed. --- scripts/buildVm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/buildVm.sh b/scripts/buildVm.sh index c47273e..3b55be6 100755 --- a/scripts/buildVm.sh +++ b/scripts/buildVm.sh @@ -290,7 +290,7 @@ function buildSDL2() { function configureSFTP() { if [[ ! -f /etc/ssh/sftponly_ready ]]; then sudo addgroup sftponly && true - sudo sed -i 's/^Subsystem/#Subsystem/g' sshd_config + sudo sed -i 's/^Subsystem/#Subsystem/g' /etc/ssh/sshd_config echo "Subsystem sftp internal-sftp -f AUTH -l VERBOSE" | sudo tee -a /etc/ssh/sshd_config echo "Match Group sftponly" | sudo tee -a /etc/ssh/sshd_config echo -e "\tChrootDirectory %h" | sudo tee -a /etc/ssh/sshd_config