Automatically Adding New SSH Hosts to Known Hosts
When managing many systems, manually confirming host keys for each new connection gets tedious fast. You can configure SSH to automatically add unknown hosts to ~/.ssh/known_hosts without prompting. The Risk Trade-off Before implementing this, understand what you’re doing: disabling strict host key checking opens you to man-in-the-middle attacks. Only use this in trusted networks where…
