New ask Hacker News story: Ask HN: Why is there no native SSH hook to run a local command before connecting

Ask HN: Why is there no native SSH hook to run a local command before connecting
5 by tetris11 | 1 comments on Hacker News.
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)

Comments

Popular posts from this blog

How can Utilize Call Center Outsourcing for Increase your Business Income well?

New ask Hacker News story: EVM-UI – visual tool to interact with EVM-based smart contracts

New ask Hacker News story: Ask HN: Should I quit my startup journey for now?