Skip to content

Instantly share code, notes, and snippets.

@salarcon215
Last active December 19, 2016 11:35
Show Gist options
  • Save salarcon215/0b61091a8b5f6cb0000b4c501d2964cc to your computer and use it in GitHub Desktop.
Save salarcon215/0b61091a8b5f6cb0000b4c501d2964cc to your computer and use it in GitHub Desktop.
#!/bin/bash
NODE=$1
LPORT=${2:-8088}
FQDN=${NODE}.measurement-lab.org
SLICE=utility.mlab.${NODE}.measurement-lab.org
ssh -L $LPORT:$SLICE:8088 -p806 mlab_utility@$NODE sudo mlab-view
#ssh -L 8088:utility.mlab.mlab1.sea05.measurement-lab.org:8088 -p806 mlab_utility@mlab1.sea05.measurement-lab.org sudo mlab-view
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment