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

RemotePathTransformation

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

Encloses a path in double quotes, and escapes any embedded double quote with a backslash.

public static IRemotePathTransformation None { get; }

Performs no transformation.

public static IRemotePathTransformation ShellQuote { get; }

Quotes a path in a way to be suitable to be used with a shell-based server.