I don’t use it much, just to transfer a single file.
## Consider that I have a test.c in my local host
When I use Linux, I can mount the disk to the file system, here is the command:
# 1. create an empty directory for mounting
When you mount the partition, you could use
df -Th to get a summary of available and used disk space usage of your disk.
~ ❤ df -Th
And there is also a tool called
sshfs that allows us to mount a remote directory to the local file system.
sudo apt-get install sshfs
When I want to mount the
/tmpdirectory in the remote server to local host, I can use these commands.
~ ❤ sshfs ali:/tmp mnt
After the mount action, when you edit a file in local
/home/corvo/mnt, just like editint it in the remote