Skip to content

Instantly share code, notes, and snippets.

@yasyf
Created February 13, 2017 02:33
Show Gist options
  • Save yasyf/358b52b38e447cfadcbb833519b21b67 to your computer and use it in GitHub Desktop.
Save yasyf/358b52b38e447cfadcbb833519b21b67 to your computer and use it in GitHub Desktop.
function mount_858() {
DIR="$HOME/mnt/858/$1"
mkdir -p $DIR
sshfs "858:$1" $DIR -o reconnect,ServerAliveInterval=5,ServerAliveCountMax=2
cd $DIR
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment