Joeri Timmermans

IT Consultancy
Kruisstraat 30 bus 002, 3120 Tremelo
+32 477 39 91 34
BE 0679.905.761

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