Last active
August 15, 2018 07:17
-
-
Save asamofal/015c9c57f5daaa54f98526e97eda7208 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install sshfs | |
sudo mkrid /mtn/FOLDER_NAME | |
If you have a ssh key: | |
sudo sshfs -o allow_other,default_permissions,IdentityFile=~/.ssh/id_rsa USER_NAME@HOST_NAME:/ /mnt/FOLER_NAME | |
If you have only a password: | |
sudo sshfs -o allow_other,default_permissions USER_NAME@HOST_NAME:/ /mnt/FOLER_NAME | |
Permanently Mounting the Remote File System: | |
sudo nano /etc/fstab | |
sshfs#USER_NAME@HOST_NAME:/ /mnt/FOLER_NAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment