Function thrussh_keys::load_public_key
source · Expand description
Load a public key from a file. Ed25519 and RSA keys are supported.
thrussh_keys::load_public_key("/home/pe/.ssh/id_ed25519.pub").unwrap();
Load a public key from a file. Ed25519 and RSA keys are supported.
thrussh_keys::load_public_key("/home/pe/.ssh/id_ed25519.pub").unwrap();