找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 109|回复: 0

使用sshfs挂载远程目录

[复制链接]

119

主题

61

回帖

130万

积分

管理员

积分
1300845
QQ
发表于 2023-4-14 18:49:01 | 显示全部楼层 |阅读模式
yum -y install epel-release && yum -y install sshfs

sshfs -o allow_other  root@XXX.XX.XXX.XXX:/ /mnt/xzj
sshfs -o allow_other -p XXX root@XXX.XX.XX.XX:/ /mnt/xzj

fusermount -u /mnt/ 或者 umount /mnt

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|留言系统 ( 蜀ICP备:没有号 )

GMT+8, 2025-10-31 03:26 , Processed in 0.129303 second(s), 20 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表