6 lines
98 B
Bash
Executable File
6 lines
98 B
Bash
Executable File
#!/usr/bin/expect -f
|
|
spawn ssh-copy-id root@$argv
|
|
expect "password:"
|
|
send "password\n"
|
|
expect eof
|