zhyiwww
用平实的笔,记录编程路上的点点滴滴………
posts - 536,comments - 394,trackbacks - 0
在两台机器之间挂载ssh文件系统,可以实现方便访问.

[1]安装sshfs文件系统
$ aptitude search sshfs
p   sshfs                                                                       - filesystem client based on SSH File Transfer Protocol                                 
p   sshfs-dbg

$ sudo  aptitude install sshfs -y

[2]挂载远程文件系统
$mkdir /tmp/40-tmp
$sshfs   xxxx@192.168.3.40:/tmp /tmp/40-tmp

$ls /tmp/40-tmp
就可以看到系统文件了.






|----------------------------------------------------------------------------------------|
                           版权声明  版权所有 @zhyiwww
            引用请注明来源 http://www.blogjava.net/zhyiwww   
|----------------------------------------------------------------------------------------|
posted on 2012-02-24 13:37 zhyiwww 阅读(482) 评论(0)  编辑  收藏

只有注册用户登录后才能发表评论。


网站导航: