SSH 连接断了但是不想关掉终端重新打开怎么办?
SSH 连接断了但是不想关掉终端重新打开怎么办?依次输入 回车 ~ .
~
是 SSH 的命令,使用 ~?
可以看到全部命令,只能在行开始的时候有效
ian@ops:~$ ~?Supported escape sequences: ~. - terminate connection (and any multiplexed sessions) ~B - send a BREAK to the remote system ~C - open a command line ~R - request rekey ~V/v - decrease/increase verbosity (LogLevel) ~^Z - suspend ssh ~# - list forwarded connections ~& - background ssh (when waiting for connections to terminate) ~? - this message ~~ - send the escape character by typing it twice(Note that escapes are only recognized immediately after newline.)