title: How to access Laravel Forge provisioned server
body: <p>I'm trying to push a Laravel installation from development to a live-environment on a Laravel Forge-server. When pushing, I'm getting an error, that I'm not getting on my local environment. </p>
  
  <p>I can't figure out, how I connect directly to the provisioned server (through FTP or SFTP), to change single files manually (to debug).</p>
  
  <p>Which means that in order to try something, then I need to make a new commit and an entirely new deployment, for every thing I want to test. Quite tedious and it clutters my git history! </p>
  
  <p>... I can't even do a <code>commit --amend</code>, since that gives me the error:</p>
  
  <blockquote>
    <p>fatal: refusing to merge unrelated histories</p>
  </blockquote>
  
  <hr>
  
  <p><strong>Attempt 1)</strong> I can't find anything about it in the <a href="https://forge.helpscoutdocs.com/search?query=FTP" rel="nofollow noreferrer">Forge knowledge base</a>. </p>
  
  <p><strong>Attempt 2)</strong> I've found <a href="https://stackoverflow.com/questions/40834518/laravel-forge-digitalocean-adding-a-sftp-user-with-restricted-access-only-to">several</a> <a href="https://laravel-news.com/setup-sftp-forge-provisioned-server" rel="nofollow noreferrer">articles</a> <a href="https://laracasts.com/discuss/channels/forge/granting-access-to-forge-site-folder-to-additional-sftp-user" rel="nofollow noreferrer">talking</a> <a href="https://laravel.io/forum/06-26-2014-how-to-set-up-an-ftp-server-on-a-forge-provision-server" rel="nofollow noreferrer">about</a> <a href="https://laracasts.com/discuss/channels/forge/create-ftp-user-and-limit-access-to-specific-sites" rel="nofollow noreferrer">a</a> good guide, but that guide gives an error 404: 
  It's this one: <a href="https://freek.dev/2016/03/let-your-clients-use-sftp-on-a-forge-provisioned-server/" rel="nofollow noreferrer">https://freek.dev/2016/03/let-your-clients-use-sftp-on-a-forge-provisioned-server/</a></p>
  
  <p>Am I missing something obvious? Or is the commit-n-push really the way to go? Is this normal for automated deployment systems? </p>