summaryrefslogtreecommitdiffstats
path: root/legacy/scripts/ssh_exch.exp
diff options
context:
space:
mode:
authorzhihui wu <wu.zhihui1@zte.com.cn>2017-05-16 14:11:02 +0800
committerzhihui wu <wu.zhihui1@zte.com.cn>2017-05-16 14:11:02 +0800
commit6cf01ef2b8cff0412640b6cc87112852afee9c87 (patch)
treebdf60cf4af20470ba07000e55fbb36d2c3a5270c /legacy/scripts/ssh_exch.exp
parent1089daee7bbf76a1686b6e1f4fee8dc79b5b7968 (diff)
delete unuse code in directory legacy
Change-Id: I31427e8a59ea241e882f41222f211fffe709043f Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
Diffstat (limited to 'legacy/scripts/ssh_exch.exp')
-rw-r--r--legacy/scripts/ssh_exch.exp9
1 files changed, 0 insertions, 9 deletions
diff --git a/legacy/scripts/ssh_exch.exp b/legacy/scripts/ssh_exch.exp
deleted file mode 100644
index c52140b7..00000000
--- a/legacy/scripts/ssh_exch.exp
+++ /dev/null
@@ -1,9 +0,0 @@
-#1 /usr/bin/expect
-set timeout 4
-set ip [lindex $argv 0]
-set pswd [lindex $argv 1]
-spawn ssh-copy-id -i QtipKey $ip
-expect "Are you sure you want to continue connecting" {send "yes\r"}
-expect "password:" { send "$pswd\r"}
-
-interact