Ask HN: Good resources for DIY-ish animatronic kits for Halloween?
4 points by xrd 1d ago 0 comments
Why the Technological Singularity May Be a "Big Nothing"
7 points by starchild3001 1d ago 8 comments
Ask HN: Why is there no native SSH hook to run a local command before connecting
2 tetris11 1 9/7/2025, 10:16:37 PM
The `LocalCommand` parameter only runs a command on the local machine after the connection is established.
Is there no pre-connection hook?
My use case is simply that I do port knocking to expose my ssh port, and want this working automatically at the SSH config level so that I can use it transparently from other utilities (e.g. Ansible inventory, Emacs over TRAMP)
[1] - https://unix.stackexchange.com/questions/44307/can-ssh-confi...