fedora 21 How to mount remote filesystem via SSH

fedora 21 How to mount remote filesystem via SSH


If you use vagrant for development you might need an access to the filesystem of the virtual machine. There is a way to mount a folder from your virtual machine to your local machine so you will be able to open and edit with your favourite code editor.

First step is to install fuse-sshfs package:
sudo yum install fuse-sshfs


Then you can mount folder from the virtual machine with command:
sshfs -o idmap=user vagrant@192.168.33.10:/home/vagrant /home/jsn/vagrant/vm

The first path is the path inside the virtual machine and the second one is for local machine.

download file now

Unknown

About Unknown

Author Description here.. Nulla sagittis convallis. Curabitur consequat. Quisque metus enim, venenatis fermentum, mollis in, porta et, nibh. Duis vulputate elit in elit. Mauris dictum libero id justo.

Subscribe to this Blog via Email :