sshfs文件系统安装与实践

来源:互联网 发布:linux 复制几个字符 编辑:程序博客网 时间:2024/06/03 17:06

作者:【吴业亮】云计算开发工程师
博客:http://blog.csdn.net/wylfengyujiancheng

1、客户端通过epel源安装fuse-sshfs

# yum --enablerepo=epel -y install fuse-sshfs

2、server端无需任何操作

3、挂载
将server端的/opt挂载到本地/mnt

# sshfs 10.0.0.31:/opt /mnt

需要输入root密码

4、也可以用普通用户

sshfs cloud@10.0.0.31:/opt /mnt

5、解挂载

fusermount -u /mnt
原创粉丝点击