another "SSH connect to host github.com port 22: Bad file number"

Posted by Mariusz on Super User See other posts from Super User or by Mariusz
Published on 2011-03-10T20:06:23Z Indexed on 2011/03/11 8:12 UTC
Read the original article Hit count: 407

Filed under:
|
|
|

Hello.

I have a problem with my first-time ssh connection. Yes, I've already done yours guides, already tried your "Dealing with firewalls and proxies" article and the problem is still occuring. I am using Win7 32bit, Windows Firewall is disabled, haven't any third-party firewalls, ESET Nod32 Antivirus is not blocking any ports, I am not using any PROXY (neither local proxy) .

Here goes the logs:

  1. Ordinary SSH connection try C:\Users\Mariusz>ssh -vvv [email protected] OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Feb 2007 debug2: ssh_connect: needpriv 0 debug1: Connecting to github.com [207.97.227.239] port 22. debug1: connect to address 207.97.227.239 port 22: Not owner ssh: connect to host github.com port 22: Bad file number

  2. NCAT connection try C:\Users\Mariusz>ncat github.com 22 Strange connect error from 207.97.227.239 (10013): No error 10013 = WSAEACCES

I think that method called "smart-http-support" won't be usable for me because I haven't created repo yet. I have just GIT INIT locally, and finished at step GIT PUSH, which returns the same:

ssh: connect to host github.com port 22: Bad file number fatal: The remote end hung up unexpectedly

  1. corkscrew method (first article from yours guide) . While PUTTYing (with pageant in bg), after inputing login - an error is occuring (MessageBox): Disconnected: No supported authentication methods available And in terminal such message is printing out: Server refused our key Key I have generated correctly, using ssh-keygen.

I tried not method by editing ~/.ssh/config yet because I had thought that because I haven't PUSHed anything to my remote repo so I won't be able to CLONE anything.

Method called ssh-forwarding is not for my, cause it "requires access to an external ssh server" and I haven't any at this time.

What else could I do?

Thanks in advance for any help. Mariusz.

© Super User or respective owner

Related posts about git

Related posts about error