Skip to content

Workaround for users who cannot use port 22 / SSH (e.g. SSH over HTTPS) #7452

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

Open
akosyakov opened this issue Jan 5, 2022 · 5 comments
Open

Comments

@akosyakov
Copy link
Member

akosyakov commented Jan 5, 2022

We are now rolling out SSH Gateway to all users:

However, some users are reporting that they cannot use SSH because of firewall or ISP issues, e.g.

For me, this is currently my biggest blocking point as my ISP sometimes will block SSH (port 22) and it appears that they are putting in place a deep packet inspection method and will detect the SSH traffic even if I redirect to different ports.

Not to be confused with the following issue to find a solution for Self Installed users who have access to port 22:

For some users (e.g. SaaS) workarounds such as changing the port will not work as they do not have access to the Gitpod installation as in Self-Hosted.

Relates to:

Original description

#7412 enables us to SSH directly into Gitpod workspace using standard SSH port. It is a standard practice to block this port in firewalls. In order to enable users to work it around we should allow to SSH over HTTPS as well.

@iQQBot mentioned that it is hard since ws-proxy already handles https port, but @csweichel i think knows a trick how to multiplex it?

Front logo Front conversations

@iQQBot
Copy link
Contributor

iQQBot commented Jan 5, 2022

Add another ip, and provider another domain like ssh.ws-eu26.gitpod.io
Only special users or automated programs need it

@iQQBot
Copy link
Contributor

iQQBot commented Jan 5, 2022

Another option is that we analyze the protocol characteristics to determine which subroutine will handle

@stale
Copy link

stale bot commented Apr 6, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Apr 6, 2022
@stale stale bot closed this as completed Apr 17, 2022
@akosyakov akosyakov reopened this May 13, 2022
@akosyakov akosyakov added the meta: never-stale This issue can never become stale label May 13, 2022
@stale stale bot removed the meta: stale This issue/PR is stale and will be closed soon label May 13, 2022
@loujaybee loujaybee changed the title SSH over HTTPS to gitpod workspaces Workaround for users who cannot use port 22 / SSH (e.g. SSH over HTTPS) Aug 24, 2022
@J0F3
Copy link

J0F3 commented Aug 26, 2022

This is also be very important for enterprise customers as it is a common thing to block outgoing SSH connection in (big) companies.
As long the useLocalApp still works customer behind corporate firewalls which are blocking SSH connection can use that but once it will get removed an other solution is need. Otherwise a lot of enterprises customers would get locked out.

@tyler36
Copy link

tyler36 commented Dec 7, 2022

Confirming still works, AKA workaround hasn't been disabled (yet).

VSCode settings:

"gitpod.remote.useLocalApp": false,, the "preferred" path, fails for me because company block SSH.
"gitpod.remote.useLocalApp": true, , the "old" path, opens VSCode locally.

VScode 1.73.1
Gitpod 0.0.66
Gitpod remote 0.0.38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants