ssh -L 10002:192.168.0.30:10002 192.168.1.135 to establish port forwarding but now I need to remove it.
How do I do this?
If you are using Linux you can kill the process by:
and then use
To kill the process.
If the kill command is not successfull you can try
You could use the "escape-key" (usually ~) followed by C to get a cli to your connection. You can from there remove tunnels without taking down your connection.