centos 7 : sshfs Hint

on Clinet

ssh-keygen -t rsa

ssh -p22 root@10.0.0.49 mkdir -p .ssh

cat .ssh/id_rsa.pub | ssh -p22 root@10.0.0.49 'cat >> .ssh/authorized_keys'

ssh -p22 root@10.0.0.49

sshfs -p 22 root@10.0.0.49:/data1/ /mnt/data1 -o allow_other,IdentityFile=~/.ssh/id_rsa