|
| Channel (Session &ssh_session) |
|
Channel * | acceptX11 (int timeout_ms) |
| accept an incoming X11 connection
|
|
void_throwable | changePtySize (int cols, int rows) |
| change the size of a pseudoterminal
|
|
void_throwable | close () |
| closes a channel
|
|
int | getExitStatus () |
|
Session & | getSession () |
|
bool | isClosed () |
| returns true if channel is in closed state
|
|
bool | isEof () |
| returns true if channel is in EOF state
|
|
bool | isOpen () |
| returns true if channel is in open state
|
|
int | openForward (const char *remotehost, int remoteport, const char *sourcehost, int localport=0) |
|
void_throwable | openSession () |
|
int | poll (bool is_stderr=false) |
|
int | read (void *dest, size_t count) |
|
int | read (void *dest, size_t count, int timeout) |
|
int | read (void *dest, size_t count, bool is_stderr=false, int timeout=-1) |
|
int | readNonblocking (void *dest, size_t count, bool is_stderr=false) |
|
void_throwable | requestEnv (const char *name, const char *value) |
|
void_throwable | requestExec (const char *cmd) |
|
void_throwable | requestPty (const char *term=NULL, int cols=0, int rows=0) |
|
void_throwable | requestShell () |
|
void_throwable | requestSendSignal (const char *signum) |
|
void_throwable | requestSubsystem (const char *subsystem) |
|
int | requestX11 (bool single_connection, const char *protocol, const char *cookie, int screen_number) |
|
void_throwable | sendEof () |
|
int | write (const void *data, size_t len, bool is_stderr=false) |
| Writes on a channel.
|
|
ssh_session | getCSession () |
|
ssh_channel | getCChannel () |
|
the ssh::Channel class describes the state of an SSH channel.
- See also
- ssh_channel