Linux ssh黄金参数
1 Linux ssh黄金参数 2 命令: 3 ssh -o ConnectTimeout=1 -o ConnectionAttempts=1 -o PasswordAuthentication=no -o StrictHostKeyChecking=no cp01-yxtocp048.vm -l root -C echo hello 4 ConnectTimeout:超时时间 5 ConnectionAttempts:尝试次数 6 PasswordAuthentication=no:不输入密码访问 7 StrictHostKeyChecking=no:首次访问,不必输入yes,自动确定将机器加入known_hosts