Rackspace api-challenge summary
This is in regards to the Rackspace API-challenge. More info can be found at Rackspace api-challenge summary.
All my steps to create my repository are listed below.
Install Git Shell for windows
mkdir api-challenge git init
Create next a README.md file
git commit git add README.md git commit -m 'init' git remote add origin git@github.com:rtomaszewski/api-challenge.git git push -u origin master Warning: Permanently added 'github.com,207.97.227.239' (RSA) to the list of know n hosts. Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
Troubleshooting base on https://help.github.com/articles/error-permission-denied-publickey
ssh -vT git@github.com OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Feb 2007 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * .... debug1: Authentications that can continue: publickey debug1: Next authentication method: publickey debug1: Offering public key: /c/Users/rado4752/.ssh/github_rsa debug1: Authentications that can continue: publickey debug1: No more authentication methods to try. Permission denied (publickey). ssh-add -l The agent has no identities.
I had to add and register my public ssh key github_rsa on github. After adding it using the webgui https://github.com/settings/ssh this test went fine.
ssh -vT git@github.com OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Feb 2007 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Applying options for github.com debug1: Connecting to github.com [207.97.227.239] port 22. debug1: Connection established. debug1: identity file /c/Users/rado4752/.ssh/github_rsa type 1 ... Hi rtomaszewski! You've successfully authenticated, but GitHub does not provide shell access. debug1: channel 0: free: client-session, nchannels 1 debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.5 seconds debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0 debug1: Exit status 1 git remote add origin git@github.com:rtomaszewski/api-challenge fatal: remote origin already exists. git remote -v origin git@github.com:rtomaszewski/api-challenge (fetch) origin git@github.com:rtomaszewski/api-challenge (push) git push -u origin master Warning: Permanently added 'github.com,207.97.227.239' (RSA) to the list of know hosts. ERROR: Repository not found. Fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. git remote rm origin git remote add origin git@github.com:rtomaszewski/api-challenge.git git remote -v origin git@github.com:rtomaszewski/api-challenge.git (fetch) origin git@github.com:rtomaszewski/api-challenge.git (push)
As there is not repository with the name api-challenge I created it under my github account.
git push -u origin master
After all this trouble i could navigate to my newly created repository under https://github.com/rtomaszewski/api-challenge
At the end got to http://challenge.cldsrvr.com/register and register your repo.
Thank you man! Cheers!
ReplyDelete