Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Use SSH filesystem to mount locally a remote directory through SSH
- # www.fduran.com
- # at local server:
- apt-get update; apt-get install sshfs
- mkdir /path/to/local/dir
- # Mounting -persists on logout- (for other ssh port add: -p port):
- sshfs remoteserver.example.com:/path/to/remote/dir /path/to/local/dir
- # for read-only add: -o ro
- # Unmounting:
- fusermount -u /path/to/local/dir
- # or
- umount /path/to/local/dir
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement