Improving onos-push-keys to only require password once

Change-Id: I40d9855fdba45c07d84b70cb1638effb49742eaf
diff --git a/tools/test/bin/onos-push-keys b/tools/test/bin/onos-push-keys
index 55ee2ee..94da699 100755
--- a/tools/test/bin/onos-push-keys
+++ b/tools/test/bin/onos-push-keys
@@ -8,11 +8,10 @@
 
 remote=$ONOS_USER@${1:-$OCI}
 
-scp -q ~/.ssh/id_rsa.pub $remote:/tmp
-ssh $remote "
+cat ~/.ssh/id_rsa.pub | ssh $remote "
     mkdir -p ~/.ssh
     chmod 700 ~/.ssh
-    cat /tmp/id_rsa.pub >> ~/.ssh/authorized_keys
+    cat >> ~/.ssh/authorized_keys
     sort -u ~/.ssh/authorized_keys > ~/.ssh/authorized_keys.bak
     mv ~/.ssh/authorized_keys.bak ~/.ssh/authorized_keys
     chmod 600 ~/.ssh/authorized_keys