通过expect,读取配置文件,批量ssh-add 1.配置文件(多台宿主机) id_dsa.txtid_dsa_192.168.2.112id_dsa_192.168.2.113id_dsa_192.168.3.114id_dsa_192.168.2.1152.编写批量ssh-add脚本 ssh-addAgent.sh