Practical DevOps Architecture
Nov 27, 2024 · Operations
Bash Script for Key‑Based Multi‑Host SSH Access
This Bash script automates key‑based SSH authentication across multiple hosts by scanning a subnet, generating a key pair, installing sshpass, copying the public key and known_hosts file to each reachable machine, and ensuring password‑less login for subsequent connections.
AutomationOperationsSSH
0 likes · 3 min read