-
Notifications
You must be signed in to change notification settings - Fork 62
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
[Feature Request] Support SSH for Github #611
Comments
Unfortunately that's very hard to implement if we don't want to depend on git. It is usually easy to use https, either via the git credential store or via the Can you please explain why you need ssh? |
Some reasons.
Thx |
First of all, downloading through https already works for everybody for public repos, even if you don't set any credentials. For private repos, or if you want to avoid rate limits, all you need is to request a personal access token and set it in an environment variable. IMO these are simpler than installing ssh or libssh or even git, especially on Windows and macOS. We might have ssh support at some point, but considering that it is a lot of work, it probably won't happen soon. |
I thought it was simple, but seems is not that simple to register tokens in windows, works the first time, then they are deleted after some time (less than one day), using the credentials library. |
The default expiration time is 30 days for classic tokens. But you can also choose to keep them forever. No need to use the credentials package if that's what you mean, use |
I would like to add my support for using ssh as an option for accessing repos, especially for private repos. If you read github's documentation for setting up PATs, it is filled with cautionary language about security, and they recommend using fine-grained PATs over classic:
(emphasis mine) My employer generally uses ssh for secure access to github, and I'm finding myself having to add a PAT only to use {pak}, adding in a new security consideration only for this particular workflow. |
Would be great be able to install packages when git uses ssh keys to download and access them.
As described here only works https ones (#569 (comment))
Thx!
The text was updated successfully, but these errors were encountered: