-
Notifications
You must be signed in to change notification settings - Fork 5.9k
[Docs]: Why is it possible to connect to code-server with SSH if I use cloudflare tunnel and ngrok? #5613
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Good question...I'm not as familiar with cloudeflare tunnel but i've used ngrok in the past when I want to expose my code-server and access from a separate machine. I guess those tools provide SSL out of the box? cc @code-asher
Please open a PR to update it! |
I only used the cloudflared tunnel to connect, and the result was that the VS code Remote SSH expansion did not use any files from the code-server. Instead, a new .vscodeserver file was created. |
Interesting...AFAIK, you can't use VS Code Remote SSH with code-server so I wouldn't expect that to work unfortunately. |
The problem here is that the documentation describes "SSH into code-server on VS Code", but actually using SSH connection on VScode using the method in the article has nothing much to do with code-server, not SSH to code-server. I think this description is not accurate. |
Maybe the document needs another revision 😂 |
Lol probably so...feel free to add more changes! |
Yeah that documentation is confusing to me as well. It seems like we should just remove that section entirely because it is about VS Code remote and nothing to do with code-server as noted. |
This is really need to be removed. |
Yes, this section is super confusing, definitely seemed to imply that the SSH connection could be used by e.g. VSCode Remote SSH, to connect to the existing code-server instance on the remote machine. |
It has nothing to do with code-server and will not connect to or use code-server in any way. Closes coder#5613.
cloudflare tunnel and ngork just provide a springboard server about ssh, what is the difference between this and using SSH to connect to code-server directly?
And there is a part of the documentation inaccurate description, in the section using cloudflare tunnel.
"Run cloudflared tunnel --url ssh://localhost:22 on the remote server"
Here there is no hint in the remote server also to install cloudflared.
At the same time the above ~/.ssh/config document in the user settings also does not match the user name used in the following connection.
The text was updated successfully, but these errors were encountered: