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