Pab*_*vas 13
在这篇文章,geekosaur建议我们使用转义序列如下:"杀当前会话随后命中Enter ↵,~,..
多种这些转义序列可与列出Enter ↵,~,?:
Supported escape sequences:
~. - terminate session
~B - send a BREAK to the remote system
~R - Request rekey (SSH protocol 2 only)
~# - list forwarded connections
~? - this message
~~ - send the escape character by typing it twice
(Note that escapes are only recognized immediately after newline.)
Run Code Online (Sandbox Code Playgroud)
您可以通过点击关闭Escape序列列表enter.
请注意,因为命中~~导致ssh发送~而不是拦截它,您可以通过按N次来解决N个嵌套ssh连接.(这仅适用于直接跟随的s .)也就是说,会话终止5层深度并保持其他4层不变."~ ~enterenter~~~~~.ssh
| 归档时间: |
|
| 查看次数: |
2461 次 |
| 最近记录: |