Subject : Mount a remote folder through SSH Service.
Command is :
$ sshfs user@server:/path/to/folder /mount/point
Syntax :
$sshfs nishith@192.168.1.21:/home/nishith /data/
You can mount a remote directory locally via SSH! You'll first need to install below programs however:
- FUSE that allows to implement filesystems in userspace programs. (yum install fuse)
- sshfs client that uses FUSE
sftp
(secure ftp - comes with OpenSSH, and is on your system already) to access the remote host.
And that's it, now you can use sshfs
to mount remote directories via SSH.
To Unmount, use:
fusermount -u "mount point"
Regards,
Nishith Vyas
No comments:
Post a Comment