From: Erik Faye-Lund Date: Wed, 01 Dec 2010 13:33:27 GMT Subject: Re: [msysGit] GIT connect "connect to host HOSTNAME port 22: Bad file number" message shown Message-ID: In-Reply-To: On Wed, Dec 1, 2010 at 1:48 PM, GAURAV BAHL wrote: > > My Manager asked me sent it out c/Documents and Settings > Administrator/.ssh/id_rsa.pub file to someone for adding so that git should > be available to me. > Once done with the approval , I tried with above command and faced Bad file > name issue > > Let me know for more Infn. > > After addition of the key the GIT bash Testing connection using (ssh > git@HOSTNAME info) command outputs as > > gaurav.bahl@008_GAURAVB ~ > $ ssh git@HOSTNAME info > ssh: connect to host HOSTNAME port 22: Bad file number > You probably need to replace "HOSTNAME" with the host name of the server you want to test the connection against.