Skip to content

Qs: using .ssh/config instead of github_token #154

Description

@amerlyq

All my repos have changed local credentials:

[remote "origin"]
    url = ghub:amerlyq/airy
    fetch = +refs/heads/*:refs/remotes/origin/*

And symmetrical part in ~/.ssh/config is

Host ghub
    HostName github.com
    User git
    IdentityFile ~/.ssh/git_rsa

And of course, I have running gpg to provide key passphrase caching through session.
Therefore git_rsa already contains my identity and provides passwordless access.

Is it possible to use git_rsa instead of token?
Is there really still need to provide github token anyway? What I don't understand about this?
How can be changed code to conduct all api transactions through using git_rsa mechanics?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions