Skip to main content

ssh_gate

Function ssh_gate 

Source
pub(super) async fn ssh_gate(
    state: &AppState,
    req: &PtyShellCreateRequest,
    target: &AgentTarget,
    connection: &str,
) -> Result<String, Response>
Expand description

The agent that consents for an SSH shell (empty for any other connection), after the checks that come before anything is asked.