Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add Github SSH Keys #2

Closed
ajxchapman opened this issue Apr 26, 2019 · 2 comments
Closed

Add Github SSH Keys #2

ajxchapman opened this issue Apr 26, 2019 · 2 comments
Assignees

Comments

@ajxchapman
Copy link

SSH private keys can be tested against github.com to see if they are registered against an existing user account. If the key exists the username corresponding to the key will be provided:

$ ssh -i <path to SSH private key> -T git@github.com
Hi <username>! You've successfully authenticated, but GitHub does not provide shell access.
@EdOverflow
Copy link
Collaborator

Thank you for your contribution, @ajxchapman.

@zzeitlin
Copy link

The same is true for gitlab.com:

ssh -i <path to SSH private key> -T git@gitlab.com
Welcome to GitLab, <username>!

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

No branches or pull requests

3 participants