Skip to content

Instantly share code, notes, and snippets.

@nlharri
Forked from juemura/c9-github-integration.md
Last active December 11, 2018 09:58
Show Gist options
  • Save nlharri/d2c0d19052b15ab70326840932b1a737 to your computer and use it in GitHub Desktop.
Save nlharri/d2c0d19052b15ab70326840932b1a737 to your computer and use it in GitHub Desktop.
Tutorial: How to connect your Cloud9 and GitHub accounts via ssh

Tutorial: How to connect your Cloud9 and GitHub accounts via ssh

To avoid having to enter your username and password EVERY-SINGLE-TIME you push, follow these step-by-step instructions.

1. Copy your C9 ssh key.

Go to https://c9.io/account/ssh and copy the key below "Connect to your private git repository". It's a very long string that starts with ssh-rsa and ends with your email.

2. Paste your C9 ssh key into your GitHub account

Go to https://github.com/settings/keys and click New SSH key. Enter a title (a name like Cloud9 is fine), paste the ssh key that you copied in the previous step, and click Add SSH key

That's it! Next time you push anything, it should authenticate automatically, and you'll never again have to enter your credentials on C9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment