Skip to content

Instantly share code, notes, and snippets.

@yyoshiki41
Last active June 6, 2016 05:19
Show Gist options
  • Save yyoshiki41/212e990067affceacf8a5a27588e8d8c to your computer and use it in GitHub Desktop.
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 [email protected]
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