Skip to content
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

how to run all hub commands with ssh protocol? #2189

Closed
tddschn opened this issue Jul 9, 2019 · 2 comments
Closed

how to run all hub commands with ssh protocol? #2189

tddschn opened this issue Jul 9, 2019 · 2 comments

Comments

@tddschn
Copy link

tddschn commented Jul 9, 2019

Quoted from hub(1) manpage:

HUB_PROTOCOL
           Use one of "https|ssh|git" as preferred protocol for git
           clone/push.

It seems that ssh can only be used for clone or push commands.

So is it possible to use ssh to identify the user and run other command like hub create?

@mislav
Copy link
Owner

mislav commented Jul 9, 2019

Short answer: no. The GitHub API is only accessible over HTTPS.

Long answer: #1644 (comment)

@mislav mislav closed this as completed Jul 9, 2019
@tddschn
Copy link
Author

tddschn commented Jul 10, 2019

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants