We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ff04977 + 5bbc39f commit 95db3deCopy full SHA for 95db3de
1 file changed
sshcode.go
@@ -56,7 +56,7 @@ func sshCode(host, dir string, o options) error {
56
dlScript := downloadScript(codeServerPath)
57
58
// Downloads the latest code-server and allows it to be executed.
59
- sshCmdStr := fmt.Sprintf("ssh %v %v /bin/bash", o.sshFlags, host)
+ sshCmdStr := fmt.Sprintf("ssh %v %v '/usr/bin/env bash'", o.sshFlags, host)
60
61
sshCmd := exec.Command("sh", "-c", sshCmdStr)
62
sshCmd.Stdout = os.Stdout
0 commit comments