【问题标题】:How to open new window on my machine when attaching to tmux session with SSH connection?使用 SSH 连接附加到 tmux 会话时如何在我的机器上打开新窗口?
【发布时间】:2020-07-05 20:23:39
【问题描述】:

我通过 macOS 终端和 SSH 连接到 Debian VPS。当我附加到 VPS 中的 tmux 会话时,有没有办法可以在我的 Mac 上打开一个新的终端窗口?

【问题讨论】:

    标签: macos ssh debian vps tmux


    【解决方案1】:

    在macos设置->分享中,开启“远程登录”

    然后在你的 VPS 中

    ssh macos << EOF
    osascript -e 'tell application "Terminal" to do script "/bin/bash"'
    EOF
    

    【讨论】:

      猜你喜欢
      • 2014-07-28
      • 2021-07-16
      • 2013-11-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-01-16
      • 2013-11-13
      相关资源
      最近更新 更多