Search Results for

    Class AMNetSimpleGeneratorHostKeyProvider

    Configures a generated host key provider for the SSH server identity.

    Inheritance
    object
    AMNetSimpleGeneratorHostKeyProvider
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: ApacheMinaSSHD.NET.Wrapper.Factories
    Assembly: ApacheMinaSSHD.NET.Wrapper.dll
    Syntax
    public class AMNetSimpleGeneratorHostKeyProvider

    Constructors

    | Edit this page View Source

    AMNetSimpleGeneratorHostKeyProvider(string)

    Creates a generated host key provider.

    Declaration
    public AMNetSimpleGeneratorHostKeyProvider(string keyPath = "")
    Parameters
    Type Name Description
    string keyPath

    Optional path where the generated host key is stored and reused.

    Properties

    | Edit this page View Source

    Algorithm

    Gets the host key generation algorithm.

    Declaration
    public string Algorithm { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    KeyPath

    Gets the optional path where the generated host key is stored and reused.

    Declaration
    public string KeyPath { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    KeySize

    Gets the host key size in bits.

    Declaration
    public int KeySize { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    StrictFilePermissions

    Gets whether strict host key file permission checks are enabled.

    Declaration
    public bool StrictFilePermissions { get; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    getAlgorithm()

    Gets the host key generation algorithm.

    Declaration
    public string getAlgorithm()
    Returns
    Type Description
    string
    | Edit this page View Source

    getKeySize()

    Gets the host key size in bits.

    Declaration
    public int getKeySize()
    Returns
    Type Description
    int
    | Edit this page View Source

    hasStrictFilePermissions()

    Returns whether strict host key file permission checks are enabled.

    Declaration
    public bool hasStrictFilePermissions()
    Returns
    Type Description
    bool
    | Edit this page View Source

    setAlgorithm(string)

    Sets the host key generation algorithm.

    Declaration
    public void setAlgorithm(string algorithm)
    Parameters
    Type Name Description
    string algorithm

    The algorithm name, such as Rsa.

    | Edit this page View Source

    setKeySize(int)

    Sets the host key size in bits.

    Declaration
    public void setKeySize(int keySize)
    Parameters
    Type Name Description
    int keySize

    The key size in bits.

    | Edit this page View Source

    setStrictFilePermissions(bool)

    Enables or disables strict host key file permission checks.

    Declaration
    public void setStrictFilePermissions(bool strictFilePermissions)
    Parameters
    Type Name Description
    bool strictFilePermissions

    Whether strict file permission checks are enabled.

    • Edit this page
    • View Source
    In this article
    Back to top Porta SFTP ServerGitHubApacheMinaSSHD.NET Generated by DocFX