📂 from /home/chedong/.local/share/rdoc
🚨 This exception is raised when the remote host has disconnected unexpectedly.
| Use Case | Command | Description |
|---|---|---|
| 🛡️ Catch disconnect | rescue Net::SSH::Disconnect => e | Handle unexpected disconnect during SSH session |
| 🔁 Reconnect logic | Net::SSH.start(host, user, options) | Implement retry in a loop on disconnect |
| 📡 Monitor connection | session.loop | Use event loop to detect disconnect |
Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-29 02:00 @216.73.217.46
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format