This guide assumes you have a remote server, called
loghost.example.orgthat you are going to use to avoid any firewall issues.
First make sure you have netcat-openbsd and NOT netcat traditional installed.
sudo apt-get install netcat-openbsd
Then to ensure your system is working try the following basic netcat tip.
Now to share my logging output I run on my laptop:
tail -f /var/log/syslog | ssh loghost "nc -v -l 8000"
Now to share my log with a remote collegue, he simply runs:
or http://loghost.example.org:8000 in a browser