终端的ssh是标准的OpenSSH client

如果需要克隆会话功能,可以通过配置打开。

$ cat .ssh/config 
Host *
    ControlMaster auto
    ControlPath ~/.ssh/%h-%p-%r
    ControlPersist yes



这样每连上一个服务器都会自动在~/.ssh/下创建一个socket文件,下次用相同用户名、端口、主机名进行连接就会自动复用

相关文章:

  • 2021-12-17
  • 2021-12-14
  • 2021-06-13
  • 2022-03-03
  • 2021-12-01
  • 2021-03-30
  • 2021-07-19
  • 2021-06-06
猜你喜欢
  • 2022-12-23
  • 2022-02-12
  • 2022-12-23
  • 2021-04-12
  • 2022-02-07
  • 2021-06-30
相关资源
相似解决方案