ssh-action
ssh-action copied to clipboard
Command not exist
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
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 ./...
OK, I'll try.