ssh:connect to host github.com port 22:Bad file number
fatel;cound not read from remote repository.
please make sure you have the correct access rights
and the repository exists ??
我研究了一周怎么都没办法用Git Bash上传到远程库?
Take github as an example, I found this article: https://help.github.com/articles/error-bad-file-number/
First test using the following command: ssh -vT git@github.com Discover more error messages.
Then combine the error message you see now:
ssh:connect to host github.com port 22:Bad file number
fatel;cound not read from remote repository.
please make sure you have the correct access rights
and the repository exists
Maybe it’s a permissions issue,
1. Try to upload the public key to github
2. The remote repo does not have enough permissions?
Take
github
as an example, I found this article:https://help.github.com/articles/error-bad-file-number/
First test using the following command:
ssh -vT git@github.com
Discover more error messages.Then combine the error message you see now:
Maybe it’s a permissions issue,
1. Try to upload the public key to
github
2. The remote repo does not have enough permissions?
GIT setup problem:
First step:
Settings
Step 2: Authorization, assuming you use SSH to connect
The third step Create the library, this is done on GITHUB, no need to repeat it
When you are local
Then, just
You see the prompt'
git remote add <name> <url>
'Then, you
Too much to say, if you look at the English help, it’s all in there
git configuration
You should add a config file in the .ssh directory to set port 443