How to check if ssh tunnel is open

From razwiki
Jump to navigation Jump to search
nc -z localhost $port

where port is the forwarded port