Supports IPv6 address for scp and rsync

ONOS-7680

Change-Id: Ica7466715c64765310bfc7bf34126ed02d1818b7
diff --git a/tools/test/bin/onos-push-cluster-key b/tools/test/bin/onos-push-cluster-key
index c2a77f6..d5cd5fe 100755
--- a/tools/test/bin/onos-push-cluster-key
+++ b/tools/test/bin/onos-push-cluster-key
@@ -6,6 +6,6 @@
 [ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1
 . $ONOS_ROOT/tools/build/envDefaults
 
-remote=$ONOS_USER@${1:-$OCI}
+remote=$ONOS_USER@[${1:-$OCI}]
 
-scp -q $ONOS_CLUSTER_KEY_FILE $remote:$ONOS_INSTALL_DIR/config/onos.jks
\ No newline at end of file
+scp -q $ONOS_CLUSTER_KEY_FILE $remote:$ONOS_INSTALL_DIR/config/onos.jks