summaryrefslogtreecommitdiffstats
path: root/data/ssh_exch.exp
diff options
context:
space:
mode:
authorMofassir Arif <Mofassir_arif@dellteam.com>2015-12-16 02:25:51 -0800
committerMofassir Arif <Mofassir_arif@dellteam.com>2015-12-16 03:41:54 -0800
commit8c9207f71147e9e4b44f813793c5bf04f4eba381 (patch)
tree1682854be20c020443b1fa35ed39dace5d77f9b9 /data/ssh_exch.exp
parentae3870b6863604d39bd15b0212bcf2694076a034 (diff)
Removed Root previlages
QTIP now uses a key of its own to ssh into VMs The ssh for the baremetal servers still needs work Change-Id: I1aa37e07c4f9b3f7f4902d16cdbf74f39eb6c698 Signed-off-by: Mofassir Arif <Mofassir_arif@dellteam.com> Conflicts: .gitignore
Diffstat (limited to 'data/ssh_exch.exp')
-rwxr-xr-xdata/ssh_exch.exp2
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"}