Git Error Bad File Number
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers bad file number error in linux or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x ssh bad file number aws Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it
Bad File Number Android
only takes a minute: Sign up Git SSH Error Bad File Number up vote 0 down vote favorite I'm setting up a git server with the git guide for it (http://git-scm.com/book/en/v2). So I made a user git on the Ubuntu
Ssh: Connect To Host Port 22: Bad File Number + Aws
server, and i put the ssh key of my pc in the authorized_keys file. I made a repo on the git account in /repos/test/test.git When i try to clone from the windows pc with git clone git@196.168.0.114:/repos/test/test.git it gives me this: Cloning into 'test'... ssh: connect to host 196.168.0.114 port 22: Bad file number fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Also i have a password on sh.exe /bin/git bad file number the git account .ssh chmod 700 by the git account authorized_keys chmod 600 by the git account git ssh share|improve this question edited Dec 18 '14 at 15:05 asked Dec 18 '14 at 14:55 Warre Dujardin 227 What are the permissions of the folder .ssh on the server? What are the permissions of the authorized_keys file? –Aaron Digulla Dec 18 '14 at 15:03 .ssh on the server is chmod 700, authorized keys is chmod 600. I did the chmods with the git account –Warre Dujardin Dec 18 '14 at 15:04 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote From the GitHub documentation: This error usually means you were unable to connect to the server. Often this is caused by firewalls and proxy servers. Please check your firewall settings on Windows and on the Linux client. Try ssh -vvv git@196.168.0.114 If you see this in the output: [196.168.0.114] port 22. debug1: connect to address 196.168.0.114 port 22: Attempt to connect timed out without establishing a connection then there is a firewall inside or between your two computers which swallows packets. share|improve this answer edited Dec 18 '14 at 15:43 answered Dec 18 '14 at 15:06 Aaron Digulla 203k60363574 I turned off the firewalls on both windows and the ubuntu server (on ubuntu like this: $ sudo iptables -X $ sudo iptables -t nat -F $ sudo i
Sign in Pricing Blog Support Search GitHub This repository Watch 10 Star 383 Fork 37 robwierzbowski/grunt-build-control https://github.com/robwierzbowski/grunt-build-control/issues/67 Code Issues 9 Pull requests 1 Projects 0 Pulse Graphs New issue Cannot commit and push my files into github #67 Closed etotientz opened this Issue Jun 22, 2015 · 2 comments Projects None yet Labels info:need feedback Milestone No milestone Assignees No one assigned 2 participants etotientz commented bad file Jun 22, 2015 Whenever $ git push -u origin master is being typed this is shown:: ssh:connect to host github.com port 22:Bad file number fatal:Could not read from remote repository. I do not understand why this is happening everytime.I am able to initialise git ,git add . and $git remote add origin git@github.com:etotientz/Hello.git. bad file number So,please clarify the error. Collaborator kevinawoo commented Jun 23, 2015 Here's the info I grabbed from github: https://help.github.com/articles/error-bad-file-number/ Can you ssh -vT git@github.com and make sure you get the same error? Try making sure that you can reach github with ssh https://help.github.com/articles/generating-ssh-keys/ make suer you can do a git push to the remote from the dist/ folder. kevinawoo added the info:need feedback label Jul 19, 2015 Collaborator kevinawoo commented Jul 19, 2015 Closing request, please reopen if the problem persists! kevinawoo closed this Jul 19, 2015 Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. Terms Privacy Security Status Help You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.