question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Web based ssh to code-server

See original GitHub issue

Let me be very brief and clear, I have used coder and liked the feature of the ssh terminal in the pop out browser window. I found a similar docker image that can be bind with the docker image of code-server too. Check this out @jsjoeio @code-asher @bpmct this might be a good thing for code-server. I know vscode provides integrated terminal but still, why not? Why not a browser based ssh console.

I am using this docker image and has been running fine.

The simplest deployment is, docker run --name code-server-terminal -d -p 7878:3000 wettyoss/wetty --ssh-host=192.168.bla.bla

Also, @code-asher this might be a solution to issues like, as this would be opened on a separate window and code-server window can be reloaded independently #1832 #2276

I think this is a good feature request and can be implemented in the upcoming versions of code-server. Also, the ctrl+c to copy and ctrl+v to paste hotkeys work absolutely just like google cloud shell. I am loving this wetty very much. Thank You. Here is a screenshot of it. image

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
code-ashercommented, Apr 29, 2021

Also would this feature be rejected?

No, I think it’s a good idea. ❤️

By the same backend I mean using xterm.js and connecting to the terminal service in VS Code. That way we don’t have to add any new dependencies or code. Plus I think it would be cool if you could pop out terminals from VS Code and pop them back in.

But I’m not sure if that’s possible so maybe using something like wetty is a better idea.

1reaction
code-ashercommented, Sep 16, 2021

I think it will be hard to find the time to implement this but we should keep it in mind.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Usage - code-server v4.8.0 docs - Coder
We highly recommend using port forwarding via SSH to access code-server. ... enabled, which code-server uses to communicate between the browser and server....
Read more >
Remote Development using SSH - Visual Studio Code
Remote Development using SSH. The Visual Studio Code Remote - SSH extension allows you to open a remote folder on any remote machine,...
Read more >
huashengdun/webssh: Web based ssh client - GitHub
A simple web application to be used as an ssh client to connect to your ssh servers. It is written in Python, base...
Read more >
Self-Host Code Server in Your Homelab -- VS ... - YouTube
Have you ever wanted to run VS Code in your browser ? What if you had access to your terminal and could pull...
Read more >
How To Set Up the code-server Cloud IDE Platform on Ubuntu ...
conf /etc/nginx/sites-enabled/code-server.conf. Copy. To test the validity of the configuration, run the following command:.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found