I'm trying to run the command "git clone xxx.git" and is showing the error:
ssh: connect to host port codebasehq.com 22: bad file number
What is happening? What kind of testing can I do to find out what the problem is?
I'm trying to run the command "git clone xxx.git" and is showing the error:
ssh: connect to host port codebasehq.com 22: bad file number
What is happening? What kind of testing can I do to find out what the problem is?
If you're at work, it's likely an error with your proxy (i.e. you don't have it setup correctly).
See:
git SSH problem bad file number
and
Another SSH problem bad file number post
the solution of my problem was create the file in the CONFIG folder. ssh with the following contents:
Host codebasehq.com User git Hostname ssh.codebasehq.com PreferredAuthentications publickey IdentityFile ~/.ssh/id_rsa Port 443