Giter VIP home page Giter VIP logo

Add a ssh key to github

Don't I have a key?

Check for existing keys..
ls -al ~/.ssh

Create your SSH key

So you dont have a key. Use the following steps to create one.

  1. ssh-keygen
  2. Press enter when prompted with "Enter file in which to save the..."
  3. Press enter twice when prompted with "Enter passphrase"
  4. Set permissions on your keys
    sudo chmod 600 ~/.ssh/id_rsa && sudo chmod 600 ~/.ssh/id_rsa.pub
  5. Run `ssh-agent` (yes including backticks)
  6. eval ssh-agent

Add your key to the SSH keychain

  1. ssh-add ~/.ssh/id_rsa
  2. View your public key cat ~/.ssh/id_rsa.pub
  3. Copy your public key from above
  4. Add it to your github Account's SSH Keys section
  5. Verify that the key is setup properly ssh -T [email protected]
  6. Say "yes" when asked if you'd like to add to known hosts
    You should see your username and some message about how shell access is disabled
  7. Exit and reopen terminal
  8. Run ssh -T [email protected] again just to ensure you can still connect to github after a restart

If you get an error about not having access when pushing a new repository try making one on github first ;)

Matt Jamison's Projects

0mj icon 0mj

Config files for my GitHub profile.

fpr icon fpr

Family Pong Records

notjackie icon notjackie

notjackie is a heroku hosted laravel application. NotJackie is a name I came up with when I began getting robotext addressed to Jackie. And that's not my name duh!

ruby_demo_blog icon ruby_demo_blog

Just working throught the getting started with rails instructions. https://guides.rubyonrails.org/getting_started.html

wdyd icon wdyd

Please refer to Wiki for this repository.

webpack icon webpack

A full-featured Webpack + vue-loader setup with hot reload, linting, testing & css extraction.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.