SSH 常用配置

Host *
    StrictHostKeyChecking no
    UserKnownHostsFile /dev/null
    # 保活
    ServerAliveInterval 120
    # TCP 连接复用
    ControlMaster auto
    ControlPath ~/.ssh/multiplex/%r@%h:%p
    ControlPersist 1
posted @ 2024-05-05 13:54  Undefined443  阅读(2)  评论(0编辑  收藏  举报