diff --git a/wiki/linux/ssh.md b/wiki/linux/ssh.md index 2208f6e..0b08e61 100644 --- a/wiki/linux/ssh.md +++ b/wiki/linux/ssh.md @@ -137,5 +137,20 @@ it is running at. ssh -f -N -L ::
``` +After running the command the tunnel will stay established until the process is killed. +This can be done by running a command identical or similar to the following which is used to find +the process. + +```sh +ps aux | grep "ssh -f -N -L " +``` + +Afterwards it can be killed by running the follwing command where `` is the id of the +process found with the previous command. + +```sh +kill +``` + Files that are based on a remote server can be mounted as described in [the corresponding section](#mount-directory-with-sshfs) to setup complete remote development.