Redirect user to dir upon SFTP connection.
- by Gabriel A. Zorrilla
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? :)