「小技巧」 SSH 链接断了可是不想关掉终端从新打开怎么办?

SSH 链接断了可是不想关掉终端从新打开怎么办?

SSH 链接断了可是不想关掉终端从新打开怎么办?依次输入 回车 ~ .session

~ 是 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.)
相关文章
相关标签/搜索