Saturday, 4 August 2012

GIT Adding SSH keys....

As per the instructions in my previous post the final "push" may not be so simple as it looks. It may cause authentication failure using RSA encrypted key. So you have to upload ssh key to your repository by following steps:

In order to add ssh client and post your ssh key follow the instructions described in the link: https://help.github.com/articles/generating-ssh-keys

After posting ssh keys on a "push" you may prompt for password, this is the passphrase that you have given in the begining as in the previous link.

Now you've successfully authenticated.

The possible error may occur is:









! [rejected]        master -> master (non-fast-forward)
while a push into repository.

So first you have to pull the repository into your local machine by command:
$git pull [url]
Now you can push. The added files will be saved in your Github account repository.
Now you can explore Github and share your source codes..................

.............................................Thank you........................................


No comments:

Post a Comment