Skip to content

How to connect SSH without opening up a workspace? #15

Answered by axonasif
djsnipa1 asked this question in Q&A
Discussion options

You must be logged in to vote

Ah, cool! I'm concatenating the ssh address from here with the help of some environment variables:
https://github.com/axonasif/dotfiles/blob/d86ce10be9cd08ff2911f09e7eff71449bdd2090/src/utils/vimpod.py#L27
This python script launches the ssh:// URL for me. I start it here:
https://github.com/axonasif/dotfiles/blob/d86ce10be9cd08ff2911f09e7eff71449bdd2090/src/config/tmux.sh#L12

In shell it would be

ssh://${GITPOD_WORKSPACE_ID}@${GITPOD_WORKSPACE_ID}.ssh.${GITPOD_WORKSPACE_CLUSTER_HOST}

Hope that helps!

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by axonasif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #8 on September 15, 2022 07:26.