78.4 SSH File System

20210913 Using your ssh connection to a remote server you can mount from the remote server’s file system to the local host. In the example below we connect to user kayon’s account on host theano accessing their remote directory /media/safron/ locally as ~/mnt/safron/. The destination directory (~/mnt/safron/ here) must already exist locally.

sshfs kayon@theano:/media/safron/ ~/mnt/safron/

Note that if the source on the remote host is a symbolic link to the actual device, be sure to include the terminating backslash.

To un-mount the file system:

fusermount -u ~/mnt/safron


Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0