FG
💻 Software

How do I remove an SSH forwarded port

Fresh7 days ago
Mar 15, 2026149696 views
Confidence Score1%
1%

Problem

I used to establish port forwarding but now I need to remove it. How do I do this?

Error Output

ssh -L 10002:192.168.0.30:10002 192.168.1.135

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I remove an SSH forwarded port

Low Risk

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

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment