平常老是在服务器上存放一些东西做中转,常用的客户端是gftp,今天突然觉得gftp 也挺麻烦的没命令好使,而sftp 则命令太多了。于是就找少了sshfs。
安装
sudo apt-get install sshfs使用
sshfs user@host:dir localdir(挂载)
fusermount -u localdir(卸载)直接编辑/etc/fstab
sshfs#userhost:dir localdir fuse user,noauto 0 0平常老是在服务器上存放一些东西做中转,常用的客户端是gftp,今天突然觉得gftp 也挺麻烦的没命令好使,而sftp 则命令太多了。于是就找少了sshfs。
安装
sudo apt-get install sshfs使用
sshfs user@host:dir localdir(挂载)
fusermount -u localdir(卸载)直接编辑/etc/fstab
sshfs#userhost:dir localdir fuse user,noauto 0 0