<PackageReference Include="SSH.NET" Version="2023.0.1" />

RemotePathTransformation

public static class RemotePathTransformation
Provides access to built-in remote path transformations.
public static IRemotePathTransformation DoubleQuote { get; }

Gets a IRemotePathTransformation that encloses a path in double quotes, and escapes any embedded double quote with a backslash.

public static IRemotePathTransformation None { get; }

Gets a IRemotePathTransformation that performs no transformation.

public static IRemotePathTransformation ShellQuote { get; }

Gets a IRemotePathTransformation that quotes a path in a way to be suitable to be used with a shell-based server.