Today on Forge, thanks to the work of Laravel staff member James Brooks, we're proud to announce support for user isolation. In short, this means you can run sites on the same server using separate Linux users.
In addition, you can add SSH keys for these users, granting SSH and SFTP ability to a specific directory on your server without that user being able to access other sites on the server.
To get started, you only need to click the "Use Website Isolation" checkbox when creating a new site:
When managing your server's SSH keys, a new dropdown menu is available to select the user that the SSH key should be added to. Of course, the "forge" user is still the default user for all new servers:
We hope you enjoy this new feature and thank you for your continued support of the Laravel ecosystem!
Here’s what we've been up to recently.