0

I'm working locally on an Ubuntu 14.04 machine and I often need to access an Ubuntu 12.04 server. I would like to mount my home drive on the server as a directory on my local machine. It is important that I can access this directory via terminal. How can I do this?

Currently I can type ssh wbp and access my server. I can also graphically open Files > Connect to server and conect via sftp. However… this doesn't seem to mount any kind of directory that I can access via terminal (or my pycharm project browser).

3

1 Answer 1

0

I ended up putting the following lines in my .bash_aliases file:

alias mountwwbp="sshfs -o nonempty wbp:/home/user /home/user/wbp-home"
alias umountwwbp="fusermount -u /home/user/wbp-home"

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .