Created
July 15, 2017 17:13
-
-
Save naumvd95/69aa129e46bc278eabe7a825cca0a196 to your computer and use it in GitHub Desktop.
SSHFS-small tutor
This file contains 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
#!/bin/bash | |
# this small file explain step-by step , how-to use ssh-fs | |
#create mount dir and set up environment | |
sudo mkdir /media/stark1 | |
sudo chown vnaumov:vnaumov /media/stark1 | |
apt-get install sshfs | |
# attach remote dir using sshfs | |
sshfs [email protected]:/home/vnaumov/stark1/ /media/stark1 -o reconnect |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment