m8t.in - m8t's blog

Example domain paragraphs

See my not-too-long-not-too-short-hacky-tricky-things

apt-get install socat libnotify-bin On the client, modify the SSH configuration to introduce two elements: forward a TCP port, execute a local command. Example entry for ~/.ssh/config : Host remote-host Hostname remote-host.gandi.net RemoteForward 12000 localhost:12000 PermitLocalCommand yes LocalCommand socat -u tcp4-listen:12000,reuseaddr,fork,bind=127.0.0.1 exec:$HOME/.local/bin/notify-remote.sh 2>/dev/null & The fowarded TCP port will be used to netcat notification messages to the local system. socat is

Links to m8t.in (1)