Difference between revisions of "User:Girts:Linux Notes"
(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...) |
(→How to mount SSH file system in Ubuntu) |
||
Line 2: | Line 2: | ||
From [http://ubuntu.wordpress.com/2005/10/28/how-to-mount-a-remote-ssh-filesystem-using-sshfs/ this site]. |
From [http://ubuntu.wordpress.com/2005/10/28/how-to-mount-a-remote-ssh-filesystem-using-sshfs/ this site]. |
||
To mount remote director /home/share from host example.com to local folder /mnt/share, using ssh user remuser and local user locuser: |
|||
<pre> |
<pre> |
||
sudo apt-get install sshfs |
sudo apt-get install sshfs |
||
sudo mkdir /media/share |
sudo mkdir /media/share |
||
sudo chown locuser /media/share |
sudo chown locuser /media/share |
||
# local user must belong to the fuse group |
|||
# lokālajam lietotājam jāpieder fuse grupai |
|||
sudo adduser locuser fuse |
sudo adduser locuser fuse |
||
sshfs remuser@example.com:/home/share /media/share |
sshfs remuser@example.com:/home/share /media/share |
||
</pre> |
</pre> |
||
Enter ssh user password when asked. |
Revision as of 08:52, 24 March 2009
How to mount SSH file system in Ubuntu
From this site.
To mount remote director /home/share from host example.com to local folder /mnt/share, using ssh user remuser and local user locuser:
sudo apt-get install sshfs sudo mkdir /media/share sudo chown locuser /media/share # local user must belong to the fuse group sudo adduser locuser fuse sshfs remuser@example.com:/home/share /media/share
Enter ssh user password when asked.