SSH url scheme handling should not be added on dev mode
See original GitHub issueSince #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
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:8 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ajomadlabs Let’s do this! @antonioalmeida thank you so much for your insights and helping a new contributor.
You’re all awesome 🙌
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-L108Is that clear?