blob: fd94aaa17c1faed101d57711e4e5a076e7e22eaa (
plain)
1
2
3
4
5
6
7
|
#!/usr/bin/expect
set timeout 30
spawn scp -o StrictHostKeyChecking=no /root/storperf_admin-rc root@192.168.200.1:/root/storperf_admin-rc
expect "root@192.168.200.1's password: "
send "root\r"
interact
|