miércoles, 17 de junio de 2009

Mount a directory through ssh

# Mount as read only directory from
# remote host (username@host:/dirnamehost) to
# local host (dirnamelocalhost)

sshfs -o ro username@host:/dirnamehost dirnamelocalhost


# remember that the user must belong to the fuse group
# before doing the sshfs
usermod -a -G fuse username

1 comentario:

  1. Remember that this is a project from FUSE (http://fuse.sourceforge.net/sshfs.html), either download and compile or see if your distro has it as a package. You won't just find this program on your regular command line.

    :P

    ResponderEliminar