Skip to content

Instantly share code, notes, and snippets.

@glukicov
Created July 10, 2020 09:31
Show Gist options
  • Save glukicov/de4b1f37ce383db3aa1c3e9906988df9 to your computer and use it in GitHub Desktop.
Save glukicov/de4b1f37ce383db3aa1c3e9906988df9 to your computer and use it in GitHub Desktop.
# use ML as $ML in Linux (can use ip address instead of the DNS hostname)
export ML=mlgpu.ddns.net
# just like below ;) for the magic packer command to wake-up a remote machine
alias wake_gml="wakeonlan -i $ML -p 22 b3:21:88:6k:17:24"
# open ssh tunnel from ML to the laptop in port 8899
alias sg="ssh -L 8899:localhost:8899 $ML"
# 'cd_ML' to quickly cd into the mounted directory
alias cd_ML="cd /Users/user/Documents/Ubuntu_mount/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment