SshConsole Class
Namespace: Rebex.Net.Servers
Assembly: Rebex.FileServer.dll (version 7.0.9083)
Represents an SSH console which provides methods for reading and writing.
Syntax
public class SshConsole
Inherited Members
Properties
Name | Description |
---|---|
CurrentPath | Gets the current path. |
HasPseudoTerminal | Gets a value indicating whether the console has a pseudo-terminal. |
User | Gets the authenticated user. |
Methods
Name | Description |
---|---|
Clear() | Clears the console. |
GetErrorStream() | Returns standard error stream for this console, if available. |
GetInputStream() | Returns standard input stream for this console. |
GetOutputStream() | Returns standard output stream for this console. |
ReadChar() | Reads the next character from the SshConsole. |
ReadLine() | Reads the next line of characters from the SshConsole. |
ReadLine(Boolean) | Reads the next line of characters from the SshConsole with the specified password mode. |
Write(Object) | Writes the text representation of the specified object to the SshConsole. |
Write(String, Object[]) | Writes the text respresentation of the specified array of objects to the SshConsole using the specified format information. |
WriteLine() | Writes a newline to the SshConsole. |
WriteLine(Object) | Writes the text representation of the specified object, followed by the newline, to the SshConsole. |
WriteLine(String, Object[]) | Writes the text representation of the specified array of objects, followed by the newline, to the SshConsole using the specified format. |