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

Method auth_publickey

crates/openshell-supervisor-process/src/ssh.rs:260–266  ·  view source on GitHub ↗
(
        &mut self,
        _user: &str,
        _public_key: &russh::keys::PublicKey,
    )

Source from the content-addressed store, hash-verified

258 }
259
260 async fn auth_publickey(
261 &mut self,
262 _user: &str,
263 _public_key: &russh::keys::PublicKey,
264 ) -> Result<Auth, Self::Error> {
265 Ok(Auth::Accept)
266 }
267
268 async fn channel_open_session(
269 &mut self,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected