7月
21
ansible学习记录
配置ssh密钥登录 expect脚本 #!/usr/bin/expect -f set ip [lindex $argv 0] set user [lindex $argv 1] set passwd [lindex $argv 2] set timeout 10 spawn ssh-copy-id -i /root/.ssh/id_rs … Continue reading
配置ssh密钥登录 expect脚本 #!/usr/bin/expect -f set ip [lindex $argv 0] set user [lindex $argv 1] set passwd [lindex $argv 2] set timeout 10 spawn ssh-copy-id -i /root/.ssh/id_rs … Continue reading