Mount Remote SSH Directory in Ubuntu
You’d like to know how to mount your remote ssh directory, for easy access in your machine. Here’s how to do it:
- Open your terminal window and install sshfs:
sudo apt-get install sshfs
- Create a directory that you’ll use to mount the remote one
mkdir /your-cool-path/dir-name
- Mount the remote:
sshfs user@host:/path/to/foo ~/your-cool-path/dir-name
Now you can literally add your project folder to your text editor, for example and work comfortably in your machine, isn’t that cool ?