In ssh.php line XXXX:

 [ERROR] The following process did not finish successfully (exit code 255):

ssh -p 2222 debian@server-1.example.com 'bash -se' << \EOF-SPATIE-SSH
cd /var/www && ls -alh
EOF-SPATIE-SSH

