Skip to main content

is_ssh_tunnel_cmdline

Function is_ssh_tunnel_cmdline 

Source
pub fn is_ssh_tunnel_cmdline(cmdline: &ProcessCmdline) -> bool
Expand description

Returns true if this cmdline looks like an SSH port-forwarding tunnel.

Matches when the executable contains "ssh" and the arguments include -L, -R, or -D.