SFTP not working (but SSH does)

Use these commands to fix it.

sed -i 's/internal-sftp-server/internal-sftp/' /etc/ssh/sshd_config
systemctl restart ssh
5 Likes