Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Netcat is missing #810

Closed
SunboX opened this issue Jan 21, 2016 · 4 comments
Closed

Netcat is missing #810

SunboX opened this issue Jan 21, 2016 · 4 comments

Comments

@SunboX
Copy link

SunboX commented Jan 21, 2016

I'm trying to tunnel SSH over Tor with Netcat, like explained here: https://en.wikibooks.org/wiki/OpenSSH/Cookbook/Proxies_and_Jump_Hosts#Tunneling_SSH_Over_Tor_with_Netcat

but I'm getting this exception message:

λ ssh -o ProxyCommand='nc --proxy-type socks5 --proxy localhost:9050 %h %p' [email protected]
/bin/sh: line 0: exec: nc: not found
ssh_exchange_identification: Connection closed by remote host

How can I fix this?

PS: Using Putty, it works so far.

@MartiUK
Copy link
Member

MartiUK commented Jan 21, 2016

Are you using cygwin or bash included with cmder?

@SunboX
Copy link
Author

SunboX commented Jan 21, 2016

That's a good question. I didn't change it, how can I see what I'm using?

@jankatins
Copy link
Contributor

I think the problem is that nc isn't available in git for windows (at least on my system, there is no nc.exe)

@MartiUK
Copy link
Member

MartiUK commented Jan 21, 2016

Ah okay, you're probably using the default cmd task.
Yes, netcat isn't included with git for windows.

I'd look at integrating cygwin https://github.com/cmderdev/cmder/wiki/%5BWindows%5D-Integrating-Cygwin and installing/using netcat. Plus it's closer to a posix environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants