Error in cloning from github - github

I am trying to clone a repository from github but havn't been able to successfully do so. Please help.I am getting
gaurav#gaurav-Lenovo-IdeaPad-Y500:~$ git clone https://github.com/gauravp94/eden.git
Cloning into 'eden'...
fatal: unable to access 'https://github.com/gauravp94/eden.git/': Failed connect to github.com:1080; Connection timed out
I am running internet thorough my college proxy on Ubuntu 13.10.
Thanks.

Your clone command is valid and working, so basically you seem to have either network problem, dns problem, routing problem or you just tried in moment github was doing something:
Failed connect to github.com:1080; Connection timed out
It works for me, so try again.

The url
https://github.com/gauravp94/eden.git/
is not accessible. Please try opening this url in browser IE. Check if you have access to this url.

Related

Github SSH is connected but fails when cloning a repository into Digital ocean droplet

I'm setting up a laravel website with a Digital Ocean droplet.
This process is so difficult and frustrating, I'm losing logic sense...
I'm connected with an ssh key that is connected with github, because I tried this code to test my connection:
ssh -T git#github.com
with this as response:
> Hi (My name)! You've successfully authenticated, but GitHub does not
> provide shell access.
So it is connected.
However, when I want to clone my repository into my online droplet. I get the error:
git#github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
So I have no idea how to fix this..
My ssh key inside my digital ocean settings is the same as in my github ssh settings.
Any ideas how to fix this?
I've found the solution myself!
So what was the problem?
I was using the ssh key from my localhost as an access key for cloning private github repositories. That is why I couldn't clone into an online service because that online service has it's own specific ssh key. So inside my server, I generated an ssh-key and registered that one on github. When I tried cloning me repo inside my droplet
everything worked as it should do.

How to clone github private repository in cpanel (shared host without terminal or ssh)?

I have a shared host and they don't give me ssh or terminal for it.
I've tried to clone my private repos from git by Gitâ„¢ Version Control so I am using ssh link because they need permission. I don't know how to make ssh key on cpanel so I can make it from my mac and upload to cpanel and also add to Github.
But when running, they give me error: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists..
I'm a beginner for using Git & StackOverflow, so please let me know if there's anything wrong with the question I've asked. Thanks!
Tried Url with password
Cloning a private Github repo and
having a response "The clone URL cannot include a password."
This is different than what worked for the OP (hopefully they put their solution in an answer here).
I was able to solve this problem by installing an external SSH client (like PuTTY for Windows) and then SSH into my website using its IP address. Then I followed these steps from cPanel to connect the private repository.

How do I push/pull from Github over openconnect vpn with github ssh auth?

I'm using openconnect in Ubuntu 16.04 LTS to ssh into a remote machine over a vpn. I'm trying to push and pull to/from Github with ssh authentication, but it's not working. When I try to pull or push, it gives the error:
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
When I connect with nomachine, I'm able to push/pull with Github no problem.
I've tried googling many different things, and haven't noticed anything yet in the options for openconnect or ssh that would help.
Any ideas?
The answer was simple: just set the git url to use the https version instead of ssh. You can also then cache the username/pass for https for a while: https://help.github.com/articles/caching-your-github-password-in-git/

Can't upload to BitBucket

I have a repository on BitBucket that has worked fine. But now I've added a second repository and followed the instructions on the repository set up page but get this response when I try to upload:
$ git push -u origin --all
ssh: connect to host bitbucket.org port 23456: Connection refused
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Tried restarting SSH daemon, but no help.
I note that there was a problem of this nature a year ago reported on SE. But one would think it had been resolved by now.
Much appreciate insight and help.
Solved the problem. Changed the query to https:...

Eclipse git saying Connection Refused

I am trying to clone a git repository in Eclipse stored at a server (connected to my system via LAN).
This is what I am filling in the Import Projects From Git dialog:
the repository is stored at: /home/sajat/git in the server.
However, when i click Next, I get the following error:
Can someone tell me what am I doing wrong?
2 problems I see:
you are likely using the wrong port number, standard SSH is 22 and unless you have ssh listening on port 80 it will not work.
Also, you path is odd, /git is not the same as /home/sajat/git. Try using the long path.
You should follow this how-to if you're having trouble with a Git server create by your own