将远程sftp目录映射到本地目录
CentOS上安装
方法1:yum安装
默认源无该工具,需要先安装EPEL源
yum install -y epel-release
yum -y install fuse-sshfs
sshfs ${remoteHost} ${remoteDir}
将远程sftp目录映射到本地目录
方法1:yum安装
默认源无该工具,需要先安装EPEL源
yum install -y epel-release
yum -y install fuse-sshfs
sshfs ${remoteHost} ${remoteDir}