bin/sh./etc/init.d/functions for ip in `cat host.list` do expect fenfa.exp~/.ssh/id_dsa.pub$ip>/dev/null 2>&1 if[$?eq 0];then action"$ip"/bin/true else action"$ip"/bin/false fi done 执行脚本结果如下[fenfa@centos~]$sh fenfa...
If the key is not combined with the certificate,use this#directive to point at the key file.Keep in mind that if#you've both a RSA and a DSA private key you can configure#both in parallel(to also allow the use of DSA ...