如何在不退出SSH会话的前提下退出IPMI SOL会话?
How to Exit IPMI SOL Sessions Without Killing Your SSH Connection
If you’ve ever used ipmitool sol activate to launch an IPMI Serial Over LAN (SOL) session while connected via SSH, you’ve probably run into this frustrating quirk: using the standard ~. to exit the SOL session also drops your entire SSH connection. Total bummer, right?
Here’s the workaround that keeps your SSH session intact:
- Skip the
~.shortcut entirely. Instead, use theipmitool sol deactivatecommand to close the SOL session cleanly. - The only catch is you’ll need to open a second SSH session to the same host, run that deactivate command there, and your original SOL session will terminate immediately—leaving your first SSH connection fully functional.
For quick reference, here are the key commands:
- Start an SOL session:
ipmitool sol activate - Close an SOL session (from a separate SSH window):
ipmitool sol deactivate
内容的提问来源于stack exchange,提问作者Gary Allen
相关产品推荐
相关产品推荐

