Linux uses SSHFS to mount remote machines via SSH
Today's own development machine suddenly disk remaining space alarm, and then get a hard disk is not realistic, so think of the company has a machine hung a large disk, so, I secretly locked the target to the machine.
After a while, I found that there were only my users on that machine, but I didn't have root privileges, so I discouraged the idea of using NFS. When I was depressed, accidentally found that the original Linux has a SSHFS command, you can use SSH to mount the remote machine. See this, my heart in the evil laugh.
The tool is simple, and the following steps are to mount the remote directory using SSHFS: installing
$ sudo yum install-y SSHFS
Mount
$ mkdir ~/remoteshared
$ SSHFS <user>@
When the mount is prompted to enter the password, enter the password can be mounted successfully. Uninstall
$ sudo umount ~/remoteshared