Property SessionType
SessionType
The kind of session the caller will start, for Match sessiontype: shell (an interactive shell), exec (a
command), subsystem (for example SFTP) or none (forwarding only, ssh -N). Null (the default) when unknown: a
Match block with sessiontype or command then never applies, negated or not, since either answer could be
wrong. ssh itself always knows, because the command line says.
public string? SessionType { get; init; }
Property Value
Exceptions
- ArgumentException
Not one of the four.