ymnk / jsch-agent-proxy

Other
70 stars 41 forks source link

CentOS 7 netcat droppin replacement 'nmap-ncat' does not work #26

Open stromnet opened 8 years ago

stromnet commented 8 years ago

CentOS 7 does not have the original netcat package, instead it provides a droppin (almost?) 'nmap-ncat' package: https://nmap.org/ncat/

This exposes a 'nc' binary, which does have the -U command. Unfortunately, it seems to expose the help message on stdout, not stderr which is assumed in https://github.com/ymnk/jsch-agent-proxy/blob/master/jsch-agent-proxy-usocket-nc/src/main/java/com/jcraft/jsch/agentproxy/usocket/NCUSocketFactory.java#L45

bvulaj commented 6 years ago

@stromnet Did you find a work around for this?

stromnet commented 6 years ago

Good question, I don't actually remember if and how.. Not even sure what I was using it for!