MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / ssh_forward_arg

Method ssh_forward_arg

crates/openshell-core/src/forward.rs:583–585  ·  view source on GitHub ↗

The SSH `-L` local-forward argument: `bind_addr:port:127.0.0.1:port`.

(&self)

Source from the content-addressed store, hash-verified

581
582 /// The SSH `-L` local-forward argument: `bind_addr:port:127.0.0.1:port`.
583 pub fn ssh_forward_arg(&self) -> String {
584 format!("{}:{}:127.0.0.1:{}", self.bind_addr, self.port, self.port)
585 }
586
587 /// A human-readable URL for the forwarded port.
588 pub fn access_url(&self) -> String {

Callers 2

start_port_forwardsFunction · 0.80
sandbox_forwardFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected