From 77a7ca133beda1b11558174f551606e0f3636b38 Mon Sep 17 00:00:00 2001 From: tiyn Date: Sun, 14 Nov 2021 19:21:45 +0100 Subject: [PATCH] ssh: added sshfs mounting --- wiki/linux/ssh.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/wiki/linux/ssh.md b/wiki/linux/ssh.md index 57143a7..44d7ef6 100644 --- a/wiki/linux/ssh.md +++ b/wiki/linux/ssh.md @@ -23,3 +23,13 @@ You can use the modified command below for ease of use: ```shell cat ~/.ssh/id_rsa.pub | ssh username@server 'cat >> ~/.ssh/authorized_keys' ``` + +## Mount directory with sshfs + +To mount a directory (in this case called `directory`) from a remote server +(in this case called `server` also can be substituted by something like +`user@server-ip`) on a local mount (in this case `mountpoint`) run: + +```shell +sshfs server:/directory mountpoint +```