ifo2jq
Last Updated: February 25, 2016
·
1.16K
· pix-art
Joeri timmermans 1

Create SSHfs Alias in bash_profile

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" "$mountpoint" -o "autocache,reconnect,negative_vncache,noappledouble,volname=$server,CheckHostIP=no,StrictHostKeyChecking=no" -p "$port"
'

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

All my tips have been moved to my blog www.pix-art.be so come check it out!

Say Thanks
Respond
Awesome Job

E4857be2 008e 11e8 8271 f03109811178
Software Engineer
·
San Francisco Bay Area (San Carlos)
·
Full Time