sshfs
sshfs remote_user@server_ip:/remote_path mount_path -o uid=1000 -o workaround=rename
其中-o uid=1000是将远程系统上文件的所有者映射为本地uid用户,这样就没有权限问题了。
-o workaround=rename是允许对已有文件的重命名,我习惯的编辑器geany就是用这种方式保存文件的。
卸载用挂载的用户执行
fusermount -u mount_path
或者用root用户执行
umount mount_path
在ubuntu16.04上,sshfs挂载的目录也会显示在nautilus左侧