Click or drag to resize

Neon.SSH Namespace

This namespace includes the LinuxSshProxyTMetadata, LinuxSshProxy and related classes that wrap and extend the base SSH.NET library clients with additional support for managing remote Linux machines via SSH including executing commands, scripts, uploading/downloading files, and performing idempotent operations. Remote command executions and their results can also be logged locally via a TextWriter (using a completely non-standard but still useful logging format).

The other major type is CommandBundle. Command bundles provide a way to upload a script or executable to a temporary working directory and then run the script or program in the context of the working directory so the script or program will have access to the files.Command bundle executions can also tolerate transient network disconnections.

Note Note
This package has been tested against remote machines running Ubuntu 18.04+ and will probably run fine on many other Debian-based distributions. RedHat and other non-Debian distributions probably won't be compatible.
Public classCommandBundle
Describes a collection of files to be uploaded to a Linux server along with the command to be executed after the files have been unpacked.
Public classCommandFile
Describes a file to be included in a CommandBundle.
Public classCommandResponse
Public classHostFolders
Enumerates the paths of important directories on cluster host servers.
Public classLinuxDiskInfo
Holds information about a Linux disk and its partitions.
Public classLinuxDiskPartition
Holds information about a Linux disk partition.
Public classLinuxSshProxy

Uses a SSH/SCP connection to provide access to Linux machines to access files, run commands, etc.

Public classLinuxSshProxyTMetadata

Uses a SSH/SCP connection to provide access to Linux machines to access files, run commands, etc. This extends LinuxSshProxy by adding the Metadata property with a generic type.

Public classNamespaceDoc
Public classRemoteCommandException
Indicates that a remote command execution failed.
Public classSshCredentials
Provides credentials suitable for connecting to a server machine via SSH.
Public classSshExtensions
Renci SSH.NET related extensions.
Public classSshProxyException
Public interfaceIBashCommandFormatter
Describes a type implementation that can render a nicely formatted Bash command.
Public enumerationRunOptions
Enumerates the possible options to use when executing a remote command on a LinuxSshProxyTMetadata. These options may be combined using the bitwise OR operator.