ssh-action icon indicating copy to clipboard operation
ssh-action copied to clipboard

Command not exist

Open mikedowndown opened this issue 3 years ago • 2 comments

In installed go in my remote host and the command is valid. However, when I use go command in the ssh-action script, I encountered the following error:

out: go vet ./...
err: make: go: Command not found
err: make: *** [check] Error 127
2022/07/24 05:26:33 Process exited with status 2

mikedowndown avatar Jul 24 '22 05:07 mikedowndown

Does the SSH-User have access to that command?

Try pathing the go executable /usr/local/go/bin (or wherever you binary is) as in /usr/local/go/bin vet ./...

aawnu avatar Aug 15 '22 18:08 aawnu

OK, I'll try.

mikedowndown avatar Sep 01 '22 14:09 mikedowndown