Very nice.
I'd consider pinging the guys of OpenBSD to suggest upstreaming this interesting, user friendly, syntax into SSH itself.
I find it easy to remember, it's just one flag (-L) with local_port:remote_ip:remote_port
to forward local port 3306 to mysqlhost:3306:
ssh -L 3306:mysqlhost:3306
The strength of using ssh is that you can forward multiple ports with the same connection.
i.e. ssh -L 3306:mysqlhost:3306 -L 8080:webhost:80In the same topic, do you remember the syntax of tar? I don't. https://www.xkcd.com/1168/
copy files from a to b:
(cd /src && tar cf - .) | (cd /dest && tar xf -)
operations are easy :(c)reate, e(x)tract, (t)est
options the same: (f)ile, (v)erbose, g(z)ip compression.
the only illogical ones is bzip2 compression and xz compression with -j and -JI think i can remember cpio syntax as well, though i haven't used that i a decade, but did use it quite often in my old sysadm job.
copy files from a to b by piping :
find /somewhere -print | cpio -o | (cd /destination && cpio -i)
or simply for all you kids: find /somewhere -print | cpio -p /destinationMy brain chooses to store other things in life.