Issue running shell script to gain SSH access

Hi, I’m trying to open site SSH and just can’t seem to get it working, I was running fish shell but have modified the shell to open to /bin/bash incase this was the issue. I’ve even pulled the lines out of the sh file the right click command executes in the sh script but not having any joy. Any help would be gratefully received. Here is the output I get;

bash ==> /Users/bill/Library/Application\ Support/Local\ by\ Flywheel/ssh-entry/OLBnge1y-.sh ; exit;

/Users/bill/Library/Application Support/Local by Flywheel/ssh-entry/OLBnge1y-.sh: line 3: set: -g: invalid option

set: usage: set [--abefhkmnptuvxBCHP] [-o option] [arg ...]

/Users/bill/Library/Application Support/Local by Flywheel/ssh-entry/OLBnge1y-.sh: line 3: set: -g: invalid option

set: usage: set [--abefhkmnptuvxBCHP] [-o option] [arg ...]

/Users/bill/Library/Application Support/Local by Flywheel/ssh-entry/OLBnge1y-.sh: line 3: set: -g: invalid option

set: usage: set [--abefhkmnptuvxBCHP] [-o option] [arg ...]

/Users/bill/Library/Application Support/Local by Flywheel/ssh-entry/OLBnge1y-.sh: line 3: set: -g: invalid option

set: usage: set [--abefhkmnptuvxBCHP] [-o option] [arg ...]

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

logout

Saving session...

...copying shared history...

...saving history...truncating history files...

...completed.

[Process completed]

That’s definitely odd @bill-r – Does this happen for all sites or just one? For example, if you create a new, plain site and try to access it over SSH, does that work?

That specific error of

set: -g: invalid option

Usually has to do with some sort of escaping or quoting issue on the command line.

Can you try executing this command within a blank terminal (note the quotes):

"/Users/bill/Library/Application\ Support/Local\ by\ Flywheel/ssh-entry/OLBnge1y-.sh" ; exit;

Let me know how that goes and we can continue figuring out what else is going on!