by adolph · 2y ago · 0 comments
$ cat .ssh/config
# Fictitious example
Include work.config
Include personal.config
$
https://man7.org/linux/man-pages/man5/ssh_config.5.html $ grep '^Host' .ssh/<config file> | awk '{print $2}' | while read hst; do ssh $hst '<remote command>' 2> /dev/null < /dev/null; done