diff options
Diffstat (limited to 'data/ssh_exch.exp')
-rwxr-xr-x | data/ssh_exch.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/ssh_exch.exp b/data/ssh_exch.exp index 4ced0c6a..c52140b7 100755 --- a/data/ssh_exch.exp +++ b/data/ssh_exch.exp @@ -2,7 +2,7 @@ set timeout 4 set ip [lindex $argv 0] set pswd [lindex $argv 1] -spawn ssh-copy-id -i /root/.ssh/id_rsa.pub $ip +spawn ssh-copy-id -i QtipKey $ip expect "Are you sure you want to continue connecting" {send "yes\r"} expect "password:" { send "$pswd\r"} |