{"id":3957,"date":"2006-08-17T00:00:00","date_gmt":"2006-08-16T17:00:00","guid":{"rendered":"http:\/\/www.kitty.in.th\/index.php\/2006\/08\/17\/file-system-over-ssh-protocol\/"},"modified":"2012-06-03T14:54:34","modified_gmt":"2012-06-03T07:54:34","slug":"file-system-over-ssh-protocol","status":"publish","type":"post","link":"https:\/\/kitty.in.th\/index.php\/2006\/08\/17\/file-system-over-ssh-protocol\/","title":{"rendered":"File System over SSH Protocol"},"content":{"rendered":"<p>\u0e1b\u0e01\u0e15\u0e34\u0e41\u0e25\u0e49\u0e27 Nautilus \u0e21\u0e31\u0e19\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16 connect network drive \u0e1c\u0e48\u0e32\u0e19\u0e17\u0e32\u0e07 SSH \u0e44\u0e14\u0e49\u0e2d\u0e22\u0e39\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e42\u0e14\u0e22\u0e21\u0e31\u0e19\u0e08\u0e33\u0e25\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e40\u0e2a\u0e21\u0e37\u0e2d\u0e19\u0e40\u0e1b\u0e47\u0e19 file system \u0e1c\u0e48\u0e32\u0e19\u0e17\u0e32\u0e07 GNOME-VFS \u0e0b\u0e36\u0e48\u0e07\u0e41\u0e1b\u0e25\u0e27\u0e48\u0e32\u0e21\u0e31\u0e19\u0e22\u0e31\u0e07\u0e44\u0e21\u0e48\u0e43\u0e0a\u0e48 file system \u0e08\u0e23\u0e34\u0e07\u0e46 \u0e27\u0e31\u0e19\u0e19\u0e35\u0e49\u0e04\u0e38\u0e22\u0e01\u0e31\u0e1a\u0e1e\u0e35\u0e48 CoolNetClub \u0e43\u0e19\u0e2b\u0e49\u0e2d\u0e07 #tlwg \u0e40\u0e23\u0e37\u0e48\u0e2d\u0e07 NFS \u0e01\u0e31\u0e1a network drive \u0e1c\u0e48\u0e32\u0e19 SSH \u0e04\u0e38\u0e49\u0e19\u0e46 \u0e27\u0e48\u0e32\u0e40\u0e04\u0e22\u0e40\u0e2b\u0e47\u0e19 sshfs \u0e41\u0e15\u0e48\u0e22\u0e31\u0e07\u0e44\u0e21\u0e48\u0e40\u0e04\u0e22\u0e25\u0e2d\u0e07\u0e0b\u0e30\u0e17\u0e35 \u0e01\u0e47\u0e40\u0e25\u0e22\u0e2d\u0e32\u0e28\u0e31\u0e22\u0e42\u0e2d\u0e01\u0e32\u0e2a\u0e19\u0e35\u0e49\u0e17\u0e14\u0e25\u0e2d\u0e07\u0e43\u0e0a\u0e49\u0e0b\u0e31\u0e01\u0e2b\u0e19\u0e48\u0e2d\u0e22<\/p>\n<h3>sshfs<\/h3>\n<p>sshfs \u0e2d\u0e32\u0e28\u0e31\u0e22 ssh\/sftp\/scp \u0e40\u0e1b\u0e47\u0e19\u0e0a\u0e48\u0e2d\u0e07\u0e17\u0e32\u0e07\u0e43\u0e19\u0e01\u0e32\u0e23 mount \u0e1e\u0e37\u0e49\u0e19\u0e17\u0e35\u0e48\u0e43\u0e19\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e46 \u0e19\u0e36\u0e07\u0e21\u0e32\u0e40\u0e1b\u0e47\u0e19\u0e2a\u0e48\u0e27\u0e19\u0e19\u0e36\u0e07\u0e02\u0e2d\u0e07 file system \u0e08\u0e23\u0e34\u0e07\u0e46 \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49 Filesystem in Userspace (FUSE) \u0e0b\u0e36\u0e48\u0e07\u0e40\u0e04\u0e2d\u0e23\u0e4c\u0e40\u0e19\u0e25\u0e02\u0e2d\u0e07\u0e25\u0e34\u0e19\u0e38\u0e01\u0e0b\u0e4c\u0e2a\u0e19\u0e31\u0e1a\u0e2a\u0e19\u0e38\u0e19\u0e21\u0e32\u0e15\u0e31\u0e49\u0e07\u0e41\u0e15\u0e48\u0e23\u0e38\u0e48\u0e19 2.6.14 \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e04\u0e19\u0e17\u0e35\u0e04\u0e2d\u0e21\u0e44\u0e1e\u0e25\u0e4c\u0e40\u0e04\u0e2d\u0e23\u0e4c\u0e40\u0e19\u0e25\u0e40\u0e2d\u0e07\u0e01\u0e47\u0e15\u0e49\u0e2d\u0e07\u0e04\u0e2d\u0e19\u0e1f\u0e34\u0e01 <tt>FUSE_FS<\/tt>=Y \u0e2b\u0e23\u0e37\u0e2d M \u0e01\u0e47\u0e44\u0e14\u0e49<\/p>\n<p>\u0e2b\u0e25\u0e31\u0e07\u0e08\u0e32\u0e01\u0e44\u0e14\u0e49\u0e40\u0e04\u0e2d\u0e23\u0e4c\u0e40\u0e19\u0e25\u0e17\u0e35\u0e48\u0e2a\u0e19\u0e31\u0e1a\u0e2a\u0e19\u0e38\u0e19 FUSE \u0e41\u0e25\u0e49\u0e27 \u0e17\u0e35\u0e19\u0e35\u0e49\u0e01\u0e47\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 sshfs \u0e01\u0e31\u0e19 .. \u0e1a\u0e19 Ubuntu \u0e01\u0e47\u0e07\u0e48\u0e32\u0e22\u0e2b\u0e19\u0e48\u0e2d\u0e22<\/p>\n<pre># aptitude install sshfs<\/pre>\n<p>\u0e0b\u0e36\u0e48\u0e07\u0e08\u0e30\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 <tt>sshfs<\/tt> \u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e01\u0e31\u0e1a dependencies (e.g. fuse-utils + libfuse2) \u0e17\u0e35\u0e48\u0e08\u0e33\u0e40\u0e1b\u0e47\u0e19<\/p>\n<p>\u0e08\u0e32\u0e01\u0e19\u0e31\u0e49\u0e19\u0e40\u0e1e\u0e34\u0e48\u0e21 user \u0e17\u0e35\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49 FUSE \u0e40\u0e02\u0e49\u0e32\u0e44\u0e1b\u0e2d\u0e22\u0e39\u0e48\u0e43\u0e19 group fuse .. \u0e2d\u0e31\u0e19\u0e19\u0e35\u0e49\u0e08\u0e33\u0e40\u0e1b\u0e47\u0e19\u0e15\u0e49\u0e2d\u0e07\u0e17\u0e33\u0e40\u0e1e\u0e23\u0e32\u0e30\u0e04\u0e48\u0e32\u0e1b\u0e23\u0e34\u0e22\u0e32\u0e22\u0e41\u0e25\u0e49\u0e27\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e43\u0e19 userspace \u0e21\u0e31\u0e19\u0e1a\u0e31\u0e07\u0e04\u0e31\u0e1a\u0e43\u0e2b\u0e49\u0e40\u0e09\u0e1e\u0e32\u0e30 user \u0e43\u0e19 group fuse \u0e40\u0e17\u0e48\u0e32\u0e19\u0e31\u0e49\u0e19\u0e17\u0e35\u0e48 execute \u0e44\u0e14\u0e49<\/p>\n<pre># usermod -G fuse -a username<\/pre>\n<p>\u0e16\u0e49\u0e32\u0e41\u0e01\u0e49\u0e44\u0e02 user \u0e17\u0e35\u0e48\u0e01\u0e33\u0e25\u0e31\u0e07 login \u0e2d\u0e22\u0e39\u0e48 \u0e2d\u0e32\u0e08\u0e08\u0e30\u0e15\u0e49\u0e2d\u0e07 logout \u0e2d\u0e2d\u0e01\u0e08\u0e32\u0e01\u0e23\u0e30\u0e1a\u0e1a\u0e01\u0e48\u0e2d\u0e19 \u0e41\u0e25\u0e49\u0e27 login \u0e40\u0e02\u0e49\u0e32\u0e21\u0e32\u0e43\u0e2b\u0e21\u0e48\u0e16\u0e36\u0e07\u0e08\u0e30\u0e40\u0e23\u0e34\u0e48\u0e21\u0e21\u0e35\u0e1c\u0e25<\/p>\n<h3>Mount!<\/h3>\n<p>\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e04\u0e19\u0e17\u0e35\u0e48\u0e04\u0e2d\u0e21\u0e44\u0e1e\u0e25\u0e4c <tt>FUSE_FS<\/tt> \u0e40\u0e1b\u0e47\u0e19\u0e40\u0e04\u0e2d\u0e23\u0e4c\u0e40\u0e19\u0e25\u0e21\u0e2d\u0e14\u0e39\u0e25\u0e01\u0e47\u0e2a\u0e31\u0e48\u0e07 modprobe \u0e0b\u0e30\u0e01\u0e48\u0e2d\u0e19<\/p>\n<pre># modprobe fuse<\/pre>\n<p>\u0e08\u0e32\u0e01\u0e19\u0e31\u0e49\u0e19\u0e01\u0e47\u0e2a\u0e31\u0e48\u0e07 mount \u0e01\u0e31\u0e19<\/p>\n<pre>$ sshfs user@host.domain.tld:\/path\/ \/mount\/point\/<\/pre>\n<p>sshfs \u0e01\u0e47\u0e08\u0e30\u0e43\u0e2b\u0e49\u0e43\u0e2a\u0e48 password (\u0e2b\u0e23\u0e37\u0e2d\u0e2d\u0e32\u0e08\u0e08\u0e30\u0e15\u0e49\u0e2d\u0e07\u0e44\u0e21\u0e48\u0e43\u0e2a\u0e48\u0e16\u0e49\u0e32\u0e43\u0e0a\u0e49 public-key authentication) \u0e1e\u0e2d\u0e1c\u0e48\u0e32\u0e19\u0e02\u0e31\u0e49\u0e19\u0e15\u0e2d\u0e19 authentication \u0e44\u0e14\u0e49 sshfs \u0e01\u0e47\u0e08\u0e30 mount \/path\/ \u0e1a\u0e19 host.domain.tld \u0e21\u0e32\u0e40\u0e1b\u0e47\u0e19\u0e2a\u0e48\u0e27\u0e19\u0e19\u0e36\u0e07\u0e02\u0e2d\u0e07\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e17\u0e35\u0e48\u0e40\u0e23\u0e35\u0e22\u0e01\u0e43\u0e0a\u0e49 sshfs .. \u0e25\u0e2d\u0e07\u0e2a\u0e31\u0e48\u0e07 mount \u0e14\u0e39\u0e2a\u0e31\u0e01\u0e2b\u0e19\u0e48\u0e2d\u0e22<\/p>\n<pre>$ mount\r\n...\r\n...\r\n...\r\nsshfs#user@host.domain.tld:\/path on \/mount\/point type fuse (rw,nosuid,nodev,max_read=65536,user=username)<\/pre>\n<p>\u0e08\u0e30\u0e40\u0e2b\u0e47\u0e19\u0e27\u0e48\u0e32 sshfs \u0e21\u0e31\u0e19 mount \u0e1e\u0e37\u0e49\u0e19\u0e17\u0e35\u0e48\u0e1b\u0e25\u0e32\u0e22\u0e17\u0e32\u0e07\u0e21\u0e32\u0e40\u0e1b\u0e47\u0e19\u0e2a\u0e48\u0e27\u0e19\u0e19\u0e36\u0e07\u0e02\u0e2d\u0e07 filesystem \u0e02\u0e2d\u0e07\u0e40\u0e23\u0e32\u0e40\u0e23\u0e35\u0e22\u0e1a\u0e23\u0e49\u0e2d\u0e22 .. \u0e17\u0e35\u0e19\u0e35\u0e49\u0e17\u0e14\u0e2a\u0e2d\u0e1a\u0e01\u0e31\u0e19\u0e14\u0e49\u0e27\u0e22\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e17\u0e31\u0e48\u0e27\u0e46 \u0e44\u0e1b\u0e17\u0e35\u0e48\u0e17\u0e33\u0e07\u0e32\u0e19\u0e01\u0e31\u0e1a filesystem \u0e40\u0e0a\u0e48\u0e19<\/p>\n<pre>$ ls \/mount\/point\/<\/pre>\n<p>\u0e01\u0e47\u0e08\u0e30\u0e40\u0e2b\u0e47\u0e19\u0e44\u0e1f\u0e25\u0e4c\u0e17\u0e35\u0e48\u0e2d\u0e22\u0e39\u0e48\u0e1a\u0e19\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07 host.domain.tld .. \u0e08\u0e30\u0e01\u0e4a\u0e2d\u0e1b\u0e1b\u0e35\u0e49\u0e44\u0e1f\u0e25\u0e4c \u0e2f\u0e25\u0e2f \u0e01\u0e47\u0e17\u0e33\u0e44\u0e14\u0e49\u0e2a\u0e1a\u0e32\u0e22\u0e46 \u0e44\u0e21\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e07\u0e49\u0e2d NFS<\/p>\n<p>\u0e27\u0e34\u0e18\u0e35 unmount \u0e01\u0e47\u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07 fusermount -u \u0e40\u0e0a\u0e48\u0e19<\/p>\n<pre>$ fusermount -u \/mount\/point<\/pre>\n<p>\u0e1b\u0e34\u0e14\u0e17\u0e49\u0e32\u0e22 &#8230; \u0e2a\u0e31\u0e07\u0e40\u0e01\u0e15\u0e14\u0e39\u0e08\u0e30\u0e40\u0e2b\u0e47\u0e19\u0e27\u0e48\u0e32\u0e01\u0e32\u0e23 mount \/ unmount FUSE \u0e44\u0e21\u0e48\u0e08\u0e33\u0e40\u0e1b\u0e47\u0e19\u0e15\u0e49\u0e2d\u0e07\u0e43\u0e0a\u0e49\u0e2a\u0e34\u0e17\u0e18\u0e34\u0e02\u0e2d\u0e07 root \u0e40\u0e25\u0e22 &#8230; \u0e40\u0e08\u0e4b\u0e07 :D<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0e1b\u0e01\u0e15\u0e34\u0e41\u0e25\u0e49\u0e27 Nautilus \u0e21\u0e31\u0e19\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16 connect network drive \u0e1c\u0e48\u0e32\u0e19\u0e17\u0e32\u0e07 SSH \u0e44\u0e14\u0e49\u0e2d\u0e22\u0e39\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e42\u0e14\u0e22\u0e21\u0e31\u0e19\u0e08\u0e33\u0e25\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e40\u0e2a\u0e21\u0e37\u0e2d\u0e19\u0e40\u0e1b\u0e47\u0e19 file system \u0e1c\u0e48\u0e32\u0e19\u0e17\u0e32\u0e07 GNOME-VFS \u0e0b\u0e36\u0e48\u0e07\u0e41\u0e1b\u0e25\u0e27\u0e48\u0e32\u0e21\u0e31\u0e19\u0e22\u0e31\u0e07\u0e44\u0e21\u0e48\u0e43\u0e0a\u0e48 file system \u0e08\u0e23\u0e34\u0e07\u0e46 \u0e27\u0e31\u0e19\u0e19\u0e35\u0e49\u0e04\u0e38\u0e22\u0e01\u0e31\u0e1a\u0e1e\u0e35\u0e48 CoolNetClub \u0e43\u0e19\u0e2b\u0e49\u0e2d\u0e07 #tlwg \u0e40\u0e23\u0e37\u0e48\u0e2d\u0e07 NFS \u0e01\u0e31\u0e1a network drive \u0e1c\u0e48\u0e32\u0e19 SSH \u0e04\u0e38\u0e49\u0e19\u0e46 \u0e27\u0e48\u0e32\u0e40\u0e04\u0e22\u0e40\u0e2b\u0e47\u0e19 sshfs \u0e41\u0e15\u0e48\u0e22\u0e31\u0e07\u0e44\u0e21\u0e48\u0e40\u0e04\u0e22\u0e25\u0e2d\u0e07\u0e0b\u0e30\u0e17\u0e35 \u0e01\u0e47\u0e40\u0e25\u0e22\u0e2d\u0e32\u0e28\u0e31\u0e22\u0e42\u0e2d\u0e01\u0e32\u0e2a\u0e19\u0e35\u0e49\u0e17\u0e14\u0e25\u0e2d\u0e07\u0e43\u0e0a\u0e49\u0e0b\u0e31\u0e01\u0e2b\u0e19\u0e48\u0e2d\u0e22 sshfs sshfs \u0e2d\u0e32\u0e28\u0e31\u0e22 ssh\/sftp\/scp \u0e40\u0e1b\u0e47\u0e19\u0e0a\u0e48\u0e2d\u0e07\u0e17\u0e32\u0e07\u0e43\u0e19\u0e01\u0e32\u0e23 mount \u0e1e\u0e37\u0e49\u0e19\u0e17\u0e35\u0e48\u0e43\u0e19\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e46 \u0e19\u0e36\u0e07\u0e21\u0e32\u0e40\u0e1b\u0e47\u0e19\u0e2a\u0e48\u0e27\u0e19\u0e19\u0e36\u0e07\u0e02\u0e2d\u0e07 file system \u0e08\u0e23\u0e34\u0e07\u0e46 \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49 Filesystem in Userspace (FUSE) \u0e0b\u0e36\u0e48\u0e07\u0e40\u0e04\u0e2d\u0e23\u0e4c\u0e40\u0e19\u0e25\u0e02\u0e2d\u0e07\u0e25\u0e34\u0e19\u0e38\u0e01\u0e0b\u0e4c\u0e2a\u0e19\u0e31\u0e1a\u0e2a\u0e19\u0e38\u0e19\u0e21\u0e32\u0e15\u0e31\u0e49\u0e07\u0e41\u0e15\u0e48\u0e23\u0e38\u0e48\u0e19 2.6.14 \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e04\u0e19\u0e17\u0e35\u0e04\u0e2d\u0e21\u0e44\u0e1e\u0e25\u0e4c\u0e40\u0e04\u0e2d\u0e23\u0e4c\u0e40\u0e19\u0e25\u0e40\u0e2d\u0e07\u0e01\u0e47\u0e15\u0e49\u0e2d\u0e07\u0e04\u0e2d\u0e19\u0e1f\u0e34\u0e01 FUSE_FS=Y \u0e2b\u0e23\u0e37\u0e2d &hellip; <a href=\"https:\/\/kitty.in.th\/index.php\/2006\/08\/17\/file-system-over-ssh-protocol\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">File System over SSH Protocol<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[86],"tags":[5],"class_list":["post-3957","post","type-post","status-publish","format-standard","hentry","category-lab","tag-linux"],"_links":{"self":[{"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/posts\/3957","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/comments?post=3957"}],"version-history":[{"count":7,"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/posts\/3957\/revisions"}],"predecessor-version":[{"id":10502,"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/posts\/3957\/revisions\/10502"}],"wp:attachment":[{"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/media?parent=3957"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/categories?post=3957"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/tags?post=3957"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}