Hey @mmac,
Looking at the error it is not an n8n one and it is coming back from your script, I am not sure what the script it is doing so it isn’t something I can really debug but for reference when we make an SSH connection it is non-interactive so sometimes the users profile isn’t fully loaded. It might be worth popping in some debug lines in the script to see if there is anything specific it is not happy with.