![]() is my proxy server's address and port, you should change it according to your server address. sudo apt install corkscrewĬhange this file like this. So, I know the nc has different versions like openbsd-netcat and GNU-netcat, you can change the nc in debian to the openbsd version, but I choose to change the software like corkscrew, because the names of the two versions of nc in system are same, and many people don’t understand it well. Please make sure you have the correct access rights git clone into 'nothing'.įatal: Could not read from remote repository. ![]() My system is debian 10, and minimal installation. This is how I solved it, hoping to help others later. To use the proxy in git commands using ssh (for example while using GitHub) - assuming you installed Git Bash in C:\Program Files\Git\ - open ~/.ssh/config and add this entry: host Note that connect.c supports socks version 4/4a/5. SSH using connect.c as Prox圜ommand in Git Bash: ssh -o "Prox圜ommand=connect -a none -S 127.0.0.1:9150 %h %p" SSH using Ncat as Prox圜ommand in Git Bash with addition -proxy-type socks4 parameter: ssh -o "Prox圜ommand=./ncat -proxy-type socks4 -proxy 127.0.0.1:9150 %h %p" that this implementation of Ncat does not support socks5. Please make sure you have the correct access rights and the repository exists. I got Ncat from Nmap distribution and extracted ncat.exe into the current directory. nc: getaddrinfo for host '' port 8080: Name or service not known sshexchangeidentification: Connection closed by remote host fatal: Could not read from remote repository.I downloaded Tor Browser, run and wait to connect.I found two solutions but the second is better. I wanted to ssh to a REMOTESERVER and the SSH port had been closed in my network. Ssh_exchange_identification: Connection closed by remote host I was getting this error: NCAT DEBUG: Proxy returned status code 501. For windows, parameters didn't completely work for me.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |