Saturday 8 September 2012

Setting up public keys in Ubuntu

1) Check for SSH keys
     cd ~/.ssh
   If there is already an SSH directory you'll want to back the old one
   up and remove it: 
2) Backup and remove existing SSH keys
     ls
    mkdir key_backup

    cp id_rsa* key_backup
3) rm id_rsa*
4) Generate a new SSH key
    ssh-keygen -t rsa -C "your_email@youremail.com"
5) Add your SSH key to GitHub

6) Test everything out
7) ssh -T git@github.com
    
Thanks For Reading. Keep Blogging !!!    

No comments:

Post a Comment