blob: a7be77ad5e8715548bd123aaf6b5fd287fb2eba8 [file] [log] [blame]
#!/bin/bash
# -----------------------------------------------------------------------------
# Logs in to the remote ONOS node.
# -----------------------------------------------------------------------------
[ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1
. $ONOS_ROOT/tools/build/envDefaults
[ -n "$1" ] && OCI=$1 && shift
ssh -Y $ONOS_USER@$OCI "$@"