Verified to github

TurnToJPG -->

General Method

When you were denied by github, use following method for get through:
Generate the key-gen


Then Creat the following files:

# cat /home/Trusty/.ssh/config
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa
Port 443

Now use following command for setting the connection:

ssh -T

Under firewall

First add the ~/.ssh/ to the github’s “SSH keys”.
If your machine runs under the firewall, you have to do things like following:

ssh -L

Then in another terminal, run:

ssh -T git@localhost -p 2121
Hi xxx! You've successfully authenticated, but GitHub does not provide shell access.