配置1、配置ssh_config文件:vim~/.ssh/configHost*ControlMasterautoControlPath~/.ssh/master-%r%h:%pControlPersistyesServerAliveInterval60ControlMaster#连接共享ControlPath#与ControlMaster一起使用,指定连接共享的路径ControlPersist#与ControlMaster一起使用,在后台保持打开ServerAliveInterval#与服务器通讯的时间间隔(秒)官方文档:
转载请注明:http://www.aierlanlan.com/grrz/5759.html