# 安装sshfs客户端
sudo apt install sshfs
# 创建挂载目录
sudo mkdir -p /mnt/test
# 挂载远端文件夹
sudo sshfs -o allow_other user_name@xxx:/home/... /mnt/test
# 挂载时使用密钥验证身份
sudo sshfs -o allow_other,IdentityFile=/home/user_name/.ssh/id_rsa user_name@xxx:/home/... /mnt/test