Skip to content

private repo netrc instead of ssh keys #122

@robertoschwald

Description

@robertoschwald

Just wanted to mention that it is not needed to create a ssh key for each private repo.

You can also use a .netrc file in the apache users home dir, by setting a generated token as the password. This way, you can even define logins for github.com or any other GitHub Enterprise installation:

machine github.com
login myghcomuser
password <ghcomtoken>

machine ghe.sample.local
login mygheuser
password <ghetoken>

Of course the permission of the .netrc file must be as tight as possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions