SftpSettings
Class sealed net10.0
Provides the client configuration settings for connecting to an SFTP server using SSH.NET.
namespace CommunityToolkit.Aspire.Sftp;
public sealed class SftpSettings{ // ...} 9 members
Constructors1
Section titled ConstructorsProperties8
Section titled PropertiesConnectionStringget; setstring? Gets or sets the connection string in the format "sftp://host:port".
DisableHealthChecksget; setbool Gets or sets a boolean value that indicates whether the SFTP health check is disabled or not.
DisableTracingget; setbool Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.
HealthCheckTimeoutget; setTimeSpan? Gets or sets the timeout duration for the health check.
Passwordget; setstring? Gets or sets the password for SFTP authentication.
PrivateKeyFileget; setstring? Gets or sets the path to a private key file for SFTP authentication.
PrivateKeyPassphraseget; setstring Gets or sets the passphrase for the private key file for SFTP authentication.
Usernameget; setstring? Gets or sets the username for SFTP authentication.