Skip to content

Instantly share code, notes, and snippets.

@yyoshiki41
Last active June 6, 2016 05:19
Show Gist options
  • Select an option

  • Save yyoshiki41/212e990067affceacf8a5a27588e8d8c to your computer and use it in GitHub Desktop.

Select an option

Save yyoshiki41/212e990067affceacf8a5a27588e8d8c to your computer and use it in GitHub Desktop.
$ vim cat .ssh/config
Host github.com
HostName github.com
IdentityFile ~/.ssh/github_id_rsa
User username

$ sudo -u jenkins ssh -T git@github.com
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