coder / sshcode

Run VS Code on any server over SSH.
MIT License
5.74k stars 216 forks source link

Readme not well defined! #134

Open asutosh97 opened 5 years ago

asutosh97 commented 5 years ago

Readme doesn't specify the explicitly on what needs to be done on the server and what on the local. Please have that clarity.

deansheather commented 5 years ago

Sorry about this! I'll work on improving the documentation soon.

The basic instructions are:

  1. On your local machine, install sshcode.
  2. Run sshcode user@remote-ip where user@remote-ip is the normal way you'd connect to the remote server with ssh.
  3. Wait until it's updated and connected (this will happen automatically).
  4. A window will appear (if you have Chrome/Chromium installed locally) with code-server running in it.
asutosh97 commented 5 years ago

Thanks, it worked. But I had to make use of pre-built binary. I was unable to build it from source.

linherest commented 4 years ago

By follow the instruction in the Install section, I ran the command: go get -u go.coder.com/sshcode

After that, I ran the command: sshcode kyle@dev.kwc.io

And I got the error message: command not found: sshcode

What am I missing? What is the thing I need to do to complete the Installation? Please give me some guidelines @deansheather

Merith-TK commented 4 years ago

@linherest This is a common golang issue, check that $GOPATH/bin is inside your path,

if $GOPATH is not set, check that $HOME/go/bin is in your path, as this is where go installs compiled binaries

linherest commented 4 years ago

I found sshcode in the path: $HOME/go/bin

I am running the command: sshcode kyle@dev.kwc.io and it's in installing process.

Thanks for you time!

Merith-TK commented 4 years ago

No worries!