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

Function foreground_forward_started_message

crates/openshell-cli/src/ssh.rs:514–522  ·  view source on GitHub ↗
(name: &str, spec: &ForwardSpec)

Source from the content-addressed store, hash-verified

512}
513
514fn foreground_forward_started_message(name: &str, spec: &ForwardSpec) -> String {
515 format!(
516 "{} Forwarding port {} to sandbox {name}\n Access at: {}\n Press Ctrl+C to stop\n {}",
517 "✓".green().bold(),
518 spec.port,
519 spec.access_url(),
520 "Hint: pass --background to start forwarding without blocking your terminal".dimmed(),
521 )
522}
523
524async fn sandbox_exec_with_mode(
525 server: &str,

Calls

no outgoing calls