question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SSH url scheme handling should not be added on dev mode

See original GitHub issue

Since #2516, Hyper is set as default program to handle ssh:// url scheme. It should not be done on dev mode. Condition should be added here: https://github.com/zeit/hyper/blob/0162a9f84dab44a5be395f4faf7579217822e5a6/app/index.js#L186-L195

cc @antonioalmeida

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
chaboucommented, Mar 8, 2018

@ajomadlabs Let’s do this! @antonioalmeida thank you so much for your insights and helping a new contributor.

You’re all awesome 🙌

1reaction
antonioalmeidacommented, Mar 7, 2018

https://github.com/zeit/hyper/blob/0162a9f84dab44a5be395f4faf7579217822e5a6/app/index.js#L186-L195

As @chabou mentioned, in this area you should check if Hyper is running on dev mode, and prevent the chances if so. To do this, you can check isDev’s value, similar to what is done here: https://github.com/zeit/hyper/blob/0162a9f84dab44a5be395f4faf7579217822e5a6/app/index.js#L88-L108

Is that clear?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot connect to Private Gitlab Repo · Issue #2890 - GitHub
This is a bug, no question. As a workaround, please remove your configured repository and re-add it using ssh:// URL-scheme. This should work...
Read more >
Defining a custom URL scheme for your app - Apple Developer
Handle the URLs that your app receives. URLs must start with your custom scheme name. Add parameters for any options your app supports....
Read more >
Why doesn't my SSH key work for connecting to github?
Go to account settings on github.com. Go to SSH Keys. Click on the Add Key button. give the key a title.
Read more >
4.1 Git on the Server - The Protocols
The negative aspect of SSH is that it doesn't support anonymous access to your Git repository. If you're using SSH, people must have...
Read more >
Vault SSH Helper Error [unsupported scheme. use 'dev' mode]
The current use case I am evaluating is being able to authenticate from a remote host using I am attempting to set up...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found