Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.
Date: 2017feb6 OS: Linux Distro: RedHat/Fedora/CentOS Q. How can I mount a remote filesystem via ssh? A. Use sshfs. This is a FUSE filesystem. Install:dnf install sshfsMake a mount point:mkdir /mnt/otherhostMount:sshfs email@example.com:/home/user /mnt/otherhost_userYou may want to add some options:sshfs -o 'noexec,follow_symlinks' firstname.lastname@example.org:/home/user /mnt/otherhost_userYou can use the mount command to mount if you want:mount -t fuse.sshfs email@example.com:/home/user /mnt/otherhost_userYou'll be asked for the password and that's it.ls -l /mnt/otherhost_userUnmount like any other filesystem:umount /mnt/otherhost_user
Add a commentSign in to add a comment