How do I set the default SFTP path? How do I set the default SFTP path?

How do I set the default SFTP path?

Dmitry Machulo Dmitry Machulo

The app doesn't yet provide a way to set the default SFTP path for a host / local host.

However, here's what you can do (with an OpenSSH server):

  1. Open the sshd_config file on the server you're connecting to.
  2. Add -d "<path>" at the end of the line beginning with Subsystem sftp, e.g:
    Subsystem sftp /usr/libexec/sftp-server -d "/home/etc/www/Mysite/plugins"

<path> will act as the default SFTP directory on this server.

Add comment

Please sign in to leave a comment.