{"id":502,"date":"2010-08-25T13:59:26","date_gmt":"2010-08-25T11:59:26","guid":{"rendered":"http:\/\/blog.louic.nl\/?p=502"},"modified":"2016-09-06T15:14:59","modified_gmt":"2016-09-06T13:14:59","slug":"mount-a-directory-over-ssh-checklist","status":"publish","type":"post","link":"https:\/\/blog.louic.nl\/?p=502","title":{"rendered":"Mounting a remote directory using ssh"},"content":{"rendered":"<p>In the checklist below, the \"local\" pc is the one you are working on, and the \"remote\" pc is the one that has the directory you want to access.<\/p>\n<ul>\n<li>Generate an ssh key for passwordless login, as follows:\n<ul>\n<li>local: run ssh-keygen, do not add a pass phrase<\/li>\n<li>local: copy .ssh\/id_rsa.pub to the remote host<\/li>\n<li>remote: cat id_rsa.pub >> .ssh\/authorized_keys<\/li>\n<li>local: test if passwordless login to remote host works<\/li>\n<\/ul>\n<\/li>\n<li>local: install sshfs<\/li>\n<li>local: sshfs remote:\/directory \/mnt\/local_mountpoint -o follow_symlinks<\/li>\n<\/ul>\n<p>To unmount, use: <\/p>\n<ul>\n<li>fusermount -u \/mnt\/local_mountpoint<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>In the checklist below, the \"local\" pc is the one you are working on, and the \"remote\" pc is the one that has the directory you want to access. Generate an ssh key for passwordless login, as follows: local: run &hellip; <a href=\"https:\/\/blog.louic.nl\/?p=502\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[34],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.louic.nl\/index.php?rest_route=\/wp\/v2\/posts\/502"}],"collection":[{"href":"https:\/\/blog.louic.nl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.louic.nl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.louic.nl\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.louic.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=502"}],"version-history":[{"count":14,"href":"https:\/\/blog.louic.nl\/index.php?rest_route=\/wp\/v2\/posts\/502\/revisions"}],"predecessor-version":[{"id":763,"href":"https:\/\/blog.louic.nl\/index.php?rest_route=\/wp\/v2\/posts\/502\/revisions\/763"}],"wp:attachment":[{"href":"https:\/\/blog.louic.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.louic.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.louic.nl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}