aboutsummaryrefslogtreecommitdiffstats
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 02:46:30 -0800
commitd90f2b8fa54ca7b363eb75e321db768569a3ecd8 (patch)
treeadbc633af741af5e1588f3e09e10d22f1dc5a939 /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"}