Class SshSessionOptions
- Namespace
- SshSharp
- Assembly
- SshSharp.dll
Options for StartShellAsync(SshSessionOptions?, CancellationToken) and StartCommandAsync(string, SshSessionOptions?, CancellationToken).
public sealed class SshSessionOptions
- Inheritance
-
SshSessionOptions
- Inherited Members
Properties
- Environment
Environment variables to set (
envrequests, like ssh'sSetEnv). Servers accept only the names they allow (sshd'sAcceptEnv) and silently drop the rest.
- Terminal
A pseudo-terminal for the session (needed by interactive programs, editors, password prompts), or null for none.