概述 本文描述 SSH 的使用实践,官方资料可以参考 SSH 学院。 SSH 实现 SSH key sshd_config ssh_config 参考官方文档 SSH config file for OpenSSH client 。 ProxyCommand 指定连接 server 的命令,可用于通过代理访问 server,如ProxyCommand nc -X connect -x 127.0.0.1:7890 %h %p。 ServerAliveInterval 客户端在向服务器发送空数据包之前将等待的秒数(以保持连接处于活动状态)。避免 SSH 被强行中断,重连导致的不便。 SSH Commands 参见 SSH...