![]() ![]() Kex_exchange_identification: Connection closed by remote hostįatal: Could not read from remote repository. Libnsock nsock_iod_delete(): nsock_iod_delete (IOD #2) Libnsock nsock_iod_delete(): nsock_iod_delete (IOD #1) Ncat: 0 bytes sent, 0 bytes received in 0.01 seconds. Libnsock nsock_loop(): nsock_loop() started (no timeout). ![]() Libnsock nsock_iod_new2(): nsock_iod_new (IOD #2) Libnsock nsock_iod_new2(): nsock_iod_new (IOD #1) Ncat: Host will be resolved by the proxy. NCAT DEBUG: Using system default trusted CA certificates and those in /usr/share/ncat/ca-bundle.crt. For those that arenât aware of what a SOCKS proxy is, in short, itâs simply a network protocol that facilitates communication to a destination server on behalf of a client. Libnsock nsock_set_loglevel(): Set log level to DEBUG Pushing w/ Proxåommand+ncat fails $ env GIT_SSH_COMMAND="ssh -vvv -o Proxåommand='ncat -vvvv -proxy-type socks5 -proxy 127.0.0.1:1080 %h %p'" /usr/bin/git pushÄebug1: Reading configuration data /home/darren/.ssh/configÄebug1: /home/darren/.ssh/config line 4: Applying options for Äebug1: Reading configuration data /etc/ssh/ssh_configÄebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/darren/.ssh/known_hosts'Äebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/darren/.ssh/known_hosts2'Äebug1: Executing proxy command: exec ncat -vvvv -proxy-type socks5 -proxy 127.0.0.1:1080 22Äebug1: identity file /home/darren/.ssh/id_rsa type 0Äebug1: identity file /home/darren/.ssh/id_rsa-cert type -1Äebug1: Local version string SSH-2.0-OpenSSH_8.4 Matching host key in /home/darren/.ssh/known_hosts:2 I had put them into '-local' in order to be flexible when using several remote repositories. When I 'clone', there is no local git config to look at. Thinking about it for a moment it is logical. machineB ssh -ND :8080 usermachineC. Solution: put the git proxy settings in the '-global' section, not on the '-local'.Offending key for IP in /home/darren/.ssh/known_hosts:40 Public SOCKS proxy Start SOCKS proxy on a public port on machine B. Warning: the RSA host key for '' differs from the key for the IP address '224.0.0.1' Pushing w/ proxychains suceeds $ proxychains git push ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |