Skip to main content

Unable to connect via SFTP with an FTP client

Edit sshd_config

sudo nano /etc/ssh/sshd_config


Then scroll down until you see this line:

Subsystem sftp /usr/lib/openssh/sftp-server


Leave that line commented out, but underneath it write this:

Subsystem sftp internal-sftp


Ubuntu Linux: Restart OpenSSH server

sudo /etc/init.d/ssh restart


Share this post

Comments (0)