Skip to content

Allow configuration of connect via SSH port (e.g. port 22) #10645

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

Closed
mrsimonemms opened this issue Jun 14, 2022 · 11 comments
Closed

Allow configuration of connect via SSH port (e.g. port 22) #10645

mrsimonemms opened this issue Jun 14, 2022 · 11 comments
Assignees
Labels
component: ssh gateway feature: ssh team: delivery Issue belongs to the self-hosted team team: IDE team: webapp Issue belongs to the WebApp team

Comments

@mrsimonemms
Copy link
Contributor

Is your feature request related to a problem? Please describe

The "connect [to workspace] via SSH" button only connects via port 22.

When using k3s on a plain VM, some vendors (eg, Hetzner/DigitalOcean/Civo) don't provide an option to change the port for SSHing into the VM. This means that they can never enable the "connect via SSH" option on their Gitpod installation.

Describe the behaviour you'd like

An option in the KOTS dashboard to configure the SSH port to a different port number. This would need changes in the Installer and server components to handle this configuration parameter.

image

Describe alternatives you've considered

Without the option to configure the SSH port on the machine, there are limited available options.

Additional context

In the KOTS dashboard at least, we may wish to offer a select list of available ports to avoid internal port conflicts - suggest 22 (default), 2200, 2222, and 2244. The Installer and server should just accept the value that they are given.

Internal discussion

@mrsimonemms mrsimonemms added team: webapp Issue belongs to the WebApp team team: IDE team: delivery Issue belongs to the self-hosted team labels Jun 14, 2022
@mrsimonemms
Copy link
Contributor Author

Based on #10643 (comment), I think that bumps up the priority on this ticket to being a dependency.

If I'm reading it correctly, that also means that the KOTS dashboard needs to always allow login via SSH as it becomes necessary

cc @loujaybee

@mrsimonemms
Copy link
Contributor Author

@loujaybee
Copy link
Member

loujaybee commented Jun 30, 2022

Noting that this looks related / similar to: #7452

UPDATE:

The following isse:

Is to find a solution for users in SaaS where no access to installation is given. Whereas this issue should be scoped to an installation level fix, where access to port configurations is possible.

@loujaybee loujaybee changed the title Allow configuration of connect via SSH port Allow configuration of connect via SSH port (e.g. port 22) Aug 24, 2022
@loujaybee
Copy link
Member

loujaybee commented Sep 29, 2022

Removing WebApp project from this issue, as seems more IDE and Self-Hosted 🙏

@stale
Copy link

stale bot commented Jan 3, 2023

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.

1 similar comment
@stale
Copy link

stale bot commented Apr 6, 2023

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, 2023
@tyler36
Copy link

tyler36 commented Apr 6, 2023

Would love to see some progress on this issue. Our IT department blocks access to port 22 unless you submit an application the day before.

@stale stale bot removed the meta: stale This issue/PR is stale and will be closed soon label Apr 6, 2023
@mrsimonemms
Copy link
Contributor Author

Hey @tyler36 - Gitpod self-hosted is dead.

That said, I did figure out a way how to change the server's port 22 to 2244 - this doesn't affect Gitpod's SSH server running on port 22 and, as self-hosted is dead, I sincerely doubt it will.

@akosyakov
Copy link
Member

@tyler36 you can switch to Web tunnel via gitpod.remote.useLocalApp: true in VS Code user settings. We are also working on new smoother experience which will automatically find the best way to connect, stay tune!

@mrsimonemms mrsimonemms closed this as not planned Won't fix, can't repro, duplicate, stale Apr 6, 2023
@github-project-automation github-project-automation bot moved this to In Validation in 🍎 WebApp Team Apr 6, 2023
@tyler36
Copy link

tyler36 commented Apr 6, 2023

@akosyakov

if I set gitpod.remote.useLocalApp: true, it overrides remote.SSH.configFile on my local PC which means I have manually change it back before I can access other SSH remotes.

@akosyakov
Copy link
Member

yeah, sorry, for now we don't have the better way, we are working on new which should not, but still in prototype state

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: ssh gateway feature: ssh team: delivery Issue belongs to the self-hosted team team: IDE team: webapp Issue belongs to the WebApp team
Projects
Status: In Validation
Development

No branches or pull requests

4 participants