ri > Net::SSH::Disconnect

🔒 Net::SSH::Disconnect < Net::SSH::Exception

📂 from /home/chedong/.local/share/rdoc

🚨 This exception is raised when the remote host has disconnected unexpectedly.

🚀 Quick Reference

Use CaseCommandDescription
🛡️ Catch disconnectrescue Net::SSH::Disconnect => eHandle unexpected disconnect during SSH session
🔁 Reconnect logicNet::SSH.start(host, user, options)Implement retry in a loop on disconnect
📡 Monitor connectionsession.loopUse event loop to detect disconnect
Net::SSH::Disconnect
🔒 Net::SSH::Disconnect < Net::SSH::Exception 🚀 Quick Reference

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)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format