Joeri Timmermans
Joeri Timmermans
PHP/Symfony Developer with
a passion for food and drinks
Developer @ Intracto

Create SSHfs Alias in bash_profile

Friday April 12, 2013 - Permalink - Tags: sshfs, osxfuse

Create your own personal alias in .bash_profile so you can easy mount ssh connections with sshfs

alias aliasname=' server="server" port="8888" user="user" path="/home/user/" mount_point="/Volumes/$server"

mkdir -p "$mount_point"

/usr/local/bin/sshfs "$user@$server:$path" "$mount_point" -o "auto_cache,reconnect,negative_vncache,noappledouble,volname=$server,CheckHostIP=no,StrictHostKeyChecking=no" -p "$port" '

Get osxfuse: http://osxfuse.github.com/

comments powered by Disqus