Hub: how to run all hub commands with ssh protocol?

Created on 9 Jul 2019  路  2Comments  路  Source: github/hub

Quoted from hub(1) manpage:

           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?

All 2 comments

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

Long answer: https://github.com/github/hub/issues/1644#issuecomment-359002547

Thank you!

Was this page helpful?
0 / 5 - 0 ratings