rsa(username:privateKey:)

    Creates a public key based authentication method.

    SSHAuthenticationMethod.swift:42
    static func rsa(username: String, privateKey: Insecure.RSA.PrivateKey) -> SSHAuthenticationMethod
    • username: The username to authenticate with.

    • privateKey: The private key to authenticate with.

    Other members in extension

    Type members

    Instance members