码迷,mamicode.com
首页 > 其他好文 > 详细

Using sshfs to mount remote directory

时间:2015-03-13 12:39:14      阅读:136      评论:0      收藏:0      [点我收藏+]

标签:

Using sshfs to mount remote directory

Using sshfs to mount remote directory

I am working on different locations, but I do not want to copy all the files from one computer to another, the simplest way to avoid the trouble of duplicating files are using sshfs.

In order to make sshfs connection easy, it is highly recommended that the ssh connection between two machines are passwordless. See the previous post on how to do this.

Here are the essential steps for using sshfs: Install:

sudo apt-get install sshfs

Mount:

sshfs wujing@172.31.8.22:/media/wujing/Personal /run/shm/wj

Note: there is no need to use root or sudo to mount the filesystem.

Unmount:

sudo umount /run/shm/wj

Note:sudo or root privilege is required to unmoount the filesystem.

Author: wujing

Created: 2015-03-13 五 11:10

Emacs 24.3.1 (Org mode 8.2.10)

Using sshfs to mount remote directory

标签:

原文地址:http://www.cnblogs.com/wujingcqu/p/4334583.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!