User:Girts:Linux Notes

From DiLab
Revision as of 08:51, 24 March 2009 by Girts (talk | contribs) (New page: == How to mount SSH file system in Ubuntu == From [http://ubuntu.wordpress.com/2005/10/28/how-to-mount-a-remote-ssh-filesystem-using-sshfs/ this site]. Lai piemontētu direktoriju /home/s...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

How to mount SSH file system in Ubuntu

From this site.

Lai piemontētu direktoriju /home/share no hosta example.com uz lokālo folderi /mnt/share, izmantojot ssh useri remuser un lokālo useri locuser:

sudo apt-get install sshfs
sudo mkdir /media/share
sudo chown locuser /media/share
# lokālajam lietotājam jāpieder fuse grupai
sudo adduser locuser fuse
sshfs remuser@example.com:/home/share /media/share