Skip to content

Instantly share code, notes, and snippets.

@jaceshim
Created June 16, 2020 16:10
Show Gist options
  • Save jaceshim/2164814143000d37530033b124ac5c47 to your computer and use it in GitHub Desktop.
Save jaceshim/2164814143000d37530033b124ac5c47 to your computer and use it in GitHub Desktop.
Finding where the key has been used
$ ssh -T -ai ~/.ssh/id_rsa git@github.com
# Connect to GitHub using a specific ssh key
> Hi username! You've successfully authenticated, but GitHub does not
> provide shell access.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment