This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
computing:linux:sshfs [2015/05/31 10:46] gcooper |
computing:linux:sshfs [2015/05/31 10:57] (current) gcooper |
||
---|---|---|---|
Line 20: | Line 20: | ||
===== Mount a Remote Filesystem ===== | ===== Mount a Remote Filesystem ===== | ||
+ | |||
+ | :!: Use '' | ||
< | < | ||
Line 25: | Line 27: | ||
</ | </ | ||
- | Example: | + | Example |
+ | |||
+ | :!: The regular user must have write privileges to the mountpoint. | ||
+ | |||
+ | < | ||
+ | sudo mkdir /mnt/www | ||
+ | sudo chmod 777 /mnt/www | ||
+ | sshfs -p 2222 root@www.yourdomain.tld:/ | ||
+ | </ | ||
+ | |||
+ | Dismount the remote filesystem: | ||
+ | |||
+ | < | ||
+ | umount /mnt/www/ | ||
+ | </ | ||
+ | |||
+ | or | ||
< | < | ||
- | mkdir /mnt/www | + | sudo umount |
- | sshfs root@www.yourdomain.tld:/ | + | |
</ | </ |