sshã§ãªã¢ã¼ããµã¼ãã¼ããã¦ã³ãã便å©ã«sshfs
éçºã®ä½æ¥ããã¦ããã¨ãã¯ãè¤æ°ã®ãã¹ãã®ãµã¼ãã¼ãè¡ãæ¥ãã¦ããããã¨ãªãã¬ã¼ã·ã§ã³ããããããªãã¨ãããã¨æãã¾ãã
ãããªã¨ãã«1ã¤ã®ãµã¼ãã¼ããä½æ¥ã§ãããããsshçµç±ã§ãªã¢ã¼ãã®ãµã¼ãã¼ããã¦ã³ãããLocalã®ãã¡ã¤ã«ã·ã¹ãã ã®ããã«è¦ãããã¨ãã§ããsshfsãç´¹ä»ãããã¨æãã¾ãã
sshfsã®ã¤ã³ã¹ãã¼ã«
Debian/Ubuntuãªãaptã§ç°¡åã¤ã³ã¹ãã¼ã«ã§ãã¾ãããªããfuseã°ã«ã¼ãã«å ¥ã£ã¦ããå¿ è¦ãããã®ã§ããã®è¨å®ã¾ã§å®æ½ãã¾ãããªããã¦ã¼ã¶ã¼åã¯wadapã§å®æ½ãã¾ãã
$ sudo apt-get install sshfs $ sudo adduser fuse wadap $ newgrp fuse
以ä¸ãç°¡åã§ããã
æ©éãªã¢ã¼ããã¹ãããã¦ã³ã
ãªã¢ã¼ããã¹ãããã¦ã³ãããã®ã¯ç°¡åã§ãããã¦ã³ããã¤ã³ããã¤ãã£ã¦ãsshfsã³ãã³ããå®è¡ããã ãããªããsshã®ãããã³ã«ã§éä¿¡ããã®ã§å¯¾è±¡ã®ãµã¼ãã¼ã«ã¢ã«ã¦ã³ãã¯å¿
è¦ã§ãã
ä¸è¨ã¯ãwadapã¨ããã¦ã¼ã¶ã¼ã§ãremoteserverã¨ãããµã¼ãã¼ãã~/mntã¨ãããã¦ã³ããã¤ã³ãã«ãã¦ã³ãããæé ã§ãã
$ mkdir mnt $ sshfs wadap@remoteserver:/ mnt $ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda1 9835552 1295624 8040312 14% / varrun 127952 40 127912 1% /var/run varlock 127952 0 127952 0% /var/lock udev 127952 52 127900 1% /dev devshm 127952 0 127952 0% /dev/shm sshfs#wadap@remoteserver:/ 1048576000 0 1048576000 0% /home/wadap/mnt
æ£å¸¸ã«ãã¦ã³ãã§ãã¾ããããããã§å¯¾è±¡ã®ãã¦ã³ããã¤ã³ãã¸ã¯Localã®ãã¡ã¤ã«ã·ã¹ãã ã®æ§ã«ã¢ã¯ã»ã¹ãããã¨ãã§ãã¾ãã
ã¾ããã¦ã³ãããéã®ãªãã·ã§ã³ãããããã¨ããã¾ãã®ã§ãèªåã«ãã£ããªãã·ã§ã³ãã¤ãã£ã¦ã¿ã¦ãã ããã
Macç¨ã«ã¯MacFuse
ãªããMacãã使ãéã¯MacFuseã¨ãããã®ãç¨æããã¦ãã¾ãã
Google Code Archive - Long-term storage for Google Code Project Hosting.
ãã¡ããå°å
¥ãç°¡åãªã®ã§ãèå³ãããæ¹ã¯æ¯éãã©ã¤ãã¦ã¿ã¦ãã ãããä¸è¨ã®ç»åã®æ§ã«ç°¡åã«ãªã¢ã¼ããã¹ãããã¦ã³ããããã¨ãã§ãã¾ãã
注æäºé
sshfsã¯ã¨ã¦ã便å©ã§ãããèªå以å¤ã®äººãã¢ã¯ã»ã¹ã§ãããããªãªãã·ã§ã³ãã¤ãããã¨ãã§ãã¾ããå½ç¶ãªãããèªåã®ã¢ã«ã¦ã³ãã§ãã¦ã³ããã¦ããã®ã§ãä»ã®äººãèªåã®ã¢ã«ã¦ã³ãã§ä½æ¥ãã§ãã¦ãã¾ããã¨ã«ãªãã¾ããã
ééã£ã¦ä½¿ã£ã¦ãã¾ãã¨åé¡ã«ãªããã¨ãããã¨æãã®ã§ãå
±æã®ãµã¼ãã¼ã§ä½¿ãéã¯æ³¨æãã¦ä½¿ã£ã¦ãã ããã