No nc arguments being recognized

I’m having trouble using my nc command. Everytime I enter any parameter, even using -h, linux just prints: *BusyBox v1.20.2 (2014-05-14 13:19:21 EDT) multi-call binary. Usage: nc [IPADDR PORT]* I am able to type nc localhost 22 which produces *SSH-2.0-OpenSSH_6.6* Not to sure what’s going on… Answer You are most likely working on an embedded … Read more

Can’t connect to socket from outside

I have a problem on my server when I start an application that listen to a port: I can connect to it from the same machine, but not from the ouside world. I noticed this problem when trying to create an irc bouncer with irssiproxy (I successfully did it on another server before). irssiproxy is … Read more

Sending mail using netcat – getaddrinfo: Name or service not known [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 6 years ago. Improve this question i am trying to send a mail using netcat, and i am getting an error: nc: getaddrinfo: Name or service not known this … Read more

Netcat – socket in time_wait when echoing and piping, but not when invoked directly

I’m testing an application using netcat (nc) and I’m getting very low throughput on network connections. When I ran netstat -tnpo I see numerous TCP sessions in TIME_WAIT. I’m sending data to my application via a bash script as indicated below: while true; do echo “<required string>” | nc server_ip port done If I instead … Read more

Having trouble with SSH remote port forwarding [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 11 years ago. Improve this question all. My college network somehow disallows incoming connections. (I can SSH out of the network, but not into it.) I’m trying to set … Read more

Netcat: connection lost before transfer is complete

Interesting thing with Netcat (nc) in CentOS 5 or 6 (nc-1.84-10.fc6 or nc-1.84-22.el6.x86_64). How can I work it around? I can’t find a bug about this, but It models a file transfer to a remote host, where the file is transformed, then the result is sent back. In this example transformation is “cat”. The server … Read more

When copying VM filesystem over netcat, dd copies double the disk size

I’m attempting to copy the disk of a working headless virtualbox VM (VM1) on one server to a new VM (VM2) on a vCloud server. I don’t have access to the host of VM2. The OS is Windows Server 2003 (32-bit) I start both VMs with a live Knoppix image. I run ‘nc -l | … Read more