Skip to content

Instantly share code, notes, and snippets.

@fstrube
Created July 3, 2024 14:30
Show Gist options
  • Save fstrube/8dafc1feeef164e24644447345618cf8 to your computer and use it in GitHub Desktop.
Save fstrube/8dafc1feeef164e24644447345618cf8 to your computer and use it in GitHub Desktop.
for host in $SSH_HOSTS; do
ssh $host 'sudo apt update ; sudo apt-cache policy openssh-server ; sudo apt install openssh-server'
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment