Skip to content
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

Support for Eternal Terminal #1790

Open
MisterTea opened this issue Nov 5, 2019 · 17 comments
Open

Support for Eternal Terminal #1790

MisterTea opened this issue Nov 5, 2019 · 17 comments
Assignees
Labels
feature-request Request for new features or functionality ssh Issue in vscode-remote SSH
Milestone

Comments

@MisterTea
Copy link

Hey! I'm the creator of Eternal Terminal ( https://eternalterminal.dev/ ), a replacement for ssh that persists connections over ip changes and network disconnects. We have over 1000 engineers using ET at Facebook. ET supports IP tunneling and most of the same core functionality that ssh provides.

Would it be possible to build an extension for remote development using ET? I would be happy to help build this.

Thanks!
Jason Gauci

@Avery-Whitaker
Copy link

This would be great. The current experience when the ssh connection drops is unnecessarily intrusive. I would love to see the option to use ET instead of ssh in vscode remote.

@xgdgsc
Copy link

xgdgsc commented Mar 6, 2020

Also hoping we can persist python/julia processes using remote.

@ampresent
Copy link

Any progress? ssh losing connection frequently when in poor network condition drives me crazy. Glad to see this potential solution.

@MisterTea
Copy link
Author

Hey @kieferrm happy to work on this with you, feel free to email me.

@MisterTea
Copy link
Author

@ampresent A temporary solution is to use et's port forwarding to forward your ssh port and then ssh to localhost on the forwarded port.

@varunchopra
Copy link

@MisterTea Can you tell me what the exact command is? I get a "port is already being used" error which is odd because it's not being used.

@MisterTea
Copy link
Author

MisterTea commented Apr 15, 2020

et -x -t "2222:22" (host)

Then in another terminal:
ssh localhost -p 2222

@varunchopra
Copy link

varunchopra commented Apr 15, 2020

Thank you! For anyone else reading this (tested on MacOS):
et -x -t "2222:22" workstation (I have workstation set in ~/.ssh/config)

And to connect to the remote instance (I use ec2):
ssh ec2-user@localhost -p 2222 (:2222 doesn't work)

@lrnv
Copy link

lrnv commented Oct 24, 2021

@MisterTea, @egamma, @wxdao : #334 was closed since mosh does not support port forwarding, which ET definitely does. Is there some other things that are needed for this to take place ?

Can we make the whole remote session use ET instead of ssh, and not just one terminal ?

@tanhakabir tanhakabir added ssh Issue in vscode-remote SSH feature-request Request for new features or functionality labels Oct 29, 2021
@stiang
Copy link

stiang commented Nov 25, 2021

@MisterTea Thanks for suggesting the forwarding trick while we wait for official/native support. It seems to work well during the day, but I’m still finding that my VS Code Remote SSH connections are disconnected every morning after my Mac Mini has been in sleep mode during the night, so I still have to do the whole "Reload Window" dance for every window using Remote SSH.

The forwarded et/ssh connection is alive, but it looks like VS Code perhaps loses connection to the local ssh port while the computer sleeps? Does this not happen when you do this?

@MisterTea
Copy link
Author

MisterTea commented Nov 25, 2021 via email

@naturedamends
Copy link

naturedamends commented Feb 18, 2023

Is there a pull request for this? or a map of any place where ssh usage would need to be removed and replaced with ET, with ET being a machine requirement if the option is used? is there something else that needs to be changed?

@castelln
Copy link

Did anything ever come of this? ET would be a gamechanger for my workflow, since spotty train wifi is a source of constant frustration that leads me to just develop in local when I could be using my sweet, sweet VSCode remote setup.

@DeeeeLAN
Copy link

I think accessing over a local ssh forwarded through ET is as good as you are going to get, and honestly it is sufficient in my opinion.

I don’t think there is much you can do about vscode disconnecting during sleep, I think that is just how they set up the remote ssh plug-in because typically when a computer sleeps it loses the remote connection anyway, and they do extra handshaking between the client and server and when those stop and get out of sync I imagine that is what triggers the reload prompt.

@catskul
Copy link

catskul commented Apr 28, 2023

Why should a local ssh forward be as good as it can get? And why would it be sufficient?

I think the whole point of supporting something liked ET (or mosh) is to escape the stale connection issue.

Why support ET at all if not to resolve stale connections?

@bhusalashish
Copy link

Any updates on this?

@ColCh
Copy link

ColCh commented Nov 9, 2023

Some offtopic (sorry for that), but may be this would be interesting to you, I figured out how to setup persistent remote access in vscode, please see related issue #3096 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality ssh Issue in vscode-remote SSH
Projects
None yet
Development

No branches or pull requests

16 participants