Hacker News new | past | comments | ask | show | jobs | submit login

The need to use netcat is that it is faster. It gets better throughput in the presence of plentiful bandwidth. The whole point was to avoid using ssh for bulk transport.



ssh user@host "nc -l 1234 | tar x -C dest_dir"

and in another terminal:

tar c . | nc -p host 1234

If you do not care about security, why not using rcp ?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: