Redirect user to dir upon SFTP connection.

Posted by Gabriel A. Zorrilla on Super User See other posts from Super User or by Gabriel A. Zorrilla
Published on 2009-09-02T19:13:27Z Indexed on 2010/04/02 5:03 UTC
Read the original article Hit count: 457

Filed under:
|

Hi guys. I have an FTP user which i log in into the server via SFTP and a key file. Right, lovely, works like a charm.

Now, by default the user logs to /home/ftp which is not cool. I'd like to know if there is a way to redirect just before the connection to a dir such as /var/www/site.com/public/files/

Mmm? :)

© Super User or respective owner

Related posts about sftp

Related posts about ftp-server