github ssh enabling

ssh-keygen -t rsa -b 4096 -C "your_email@example.com"

# start the ssh-agent in the background
eval "$(ssh-agent -s)"
Agent pid 59566

Add your SSH key to the ssh-agent. If you used an existing SSH key rather than generating a new SSH key, you'll need to replace id_rsa in the command with the name of your existing private key file.
$ ssh-add ~/.ssh/id_rsa
  1. Open Git Bash.
  2. Enter the following:
    ssh -T git@github.com
    # Attempts to ssh to GitHub
    
    You may see one of these warnings:
    The authenticity of host 'github.com (192.30.252.1)' can't be established.
    RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
    Are you sure you want to continue connecting (yes/no)?
    
    The authenticity of host 'github.com (192.30.252.1)' can't be established.
    RSA key fingerprint is nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
    Are you sure you want to continue connecting (yes/no)?
  3. Verify that the fingerprint in the message you see matches the following message, then type yes:
    Hi username! You've successfully authenticated, but GitHub does not
    provide shell access.

Comments

Popular posts from this blog

HAproxy logging

tomcat catalina coyote jasper cluster

NFS mount add in fstab _netdev instead of default | firewall-cmd --list-all