Socket left in TIME_WAIT after file transfer via netcat
- by com
Using Copying by NetCat I am trying to copy files throught network by NetCat. From console it work pretty well. First I run listening netcat on the destination machine and after I run sending on source machine.
The problem is it's doen't work from script from the source machine:
ssh -f user@$desthost 'nc -l 1234 | tar xvf - /dev/null &'…