Files
cmoa_installer_ansible/ssh_key/key_test.sh
havelight-ee 2b70528618 update
2023-02-06 15:01:53 +09:00

6 lines
98 B
Bash
Executable File

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