Files
dsk-iac/ansible/00_old/key_test.sh
2023-12-19 13:36:16 +09:00

6 lines
103 B
Bash
Executable File

#!/usr/bin/expect -f
spawn ssh-copy-id root@$argv
expect "password:"
send "saasadmin1234\n"
expect eof