Giter Site home page Giter Site logo

Comments (3)

djsnipa1 avatar djsnipa1 commented on May 29, 2024 1

@axonasif I mainly use MacOS: WezTerm or Alacritty and I actually use SSH a lot with my iPhone: blink.sh shell or ShellFish. I know how to connect to ssh:// on all of the listed terminal emulators. I'm wondering how do I get the ssh url to connect to? The ssh command that I currently have to copy and paste from the Gitpod Dashboard.

Thanks again for your time!

from dotsh.

axonasif avatar axonasif commented on May 29, 2024

Hey @djsnipa1, which operating system are you using?
If you're on Mac and got iterm2 installed it might work out of the box.
The process is that VSCode will start in your browser first, and then spawn a new-tab that will launch the ssh:// protocol.

If you're using kitty, you may want to see https://sw.kovidgoyal.net/kitty/open_actions/#scripting-the-opening-of-files-with-kitty-on-macos to handle the ssh:// protocol, it'll work on both linux and mac.

I have to update the readme, some work left.

from dotsh.

axonasif avatar axonasif commented on May 29, 2024

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!

from dotsh.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.