SSH接続を行うスクリプトが、タイトルのようなエラーが出してコケていた。 man によると、デフォルト設定だとSSHコマンドはコネクション確立できなかった場合にリトライしないらしい。
なので、リトライしまくるように設定 (ConnectionAttempts) したところ安定した。
# vim /etc/ssh/ssh_config
---
Host *
# The default is 1
ConnectionAttempts 60
# デフォルト値不明....
ConnectTimeout 7200
# The default is 0, indicating that these messages will not be sent to the server
ServerAliveInterval 30
# The default value is 3
ServerAliveCountMax 120
---


