Platforms to show: All Mac Windows Linux Cross-Platform
SSH2ChannelMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Network | MBS Network Plugin | 14.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
- event DataAvailable(Data as string, ErrorChannel as boolean)
- 5 properties
- property ExitStatus as Integer
- property Handle as Integer
- property LastError as Integer
- property Session as SSH2SessionMBS
- property Tag as Variant
- 23 methods
- method Close(Wait as Boolean = true)
- method Constructor Private
- method Constructor(session as SSH2SessionMBS)
- method Destructor
- method EOF as boolean
- method Execute(command as string)
- method Flush
- method FlushAll
- method FlushExtendedData
- method FlushStdErr
- method Read(length as Integer = 65536) as string
- method ReadStdErr(length as Integer = 65536) as string
- method RequestPTY(term as string)
- method SendEOF
- method SetBlocking(blocking as boolean)
- method SetEnv(name as string, value as string)
- method Shell
- method WaitClosed
- method WaitEOF
- method Write(data as MemoryBlock) as Integer
- method Write(text as string) as Integer
- method WriteStdErr(data as MemoryBlock) as Integer
- method WriteStdErr(text as string) as Integer
This class has no sub classes.
Some methods using this class:
- SSH2SessionMBS.OpenDirectTCPIPChannel(host as string, port as integer, sourceHost as string = "127.0.0.1", sourcePort as Integer = 22) as SSH2ChannelMBS
- SSH2SessionMBS.OpenSession as SSH2ChannelMBS
Some examples using this class:
- /Network/SSH/SSH
- /Network/SSH/SSH console
- /Network/SSH/SSH execute
- /Network/SSH/SSH Terminal
- /Network/SSH/SSH tunnel
- /Network/SSH/SSH with Xojo Socket
Blog Entries
- News from the MBS Xojo Plugins Version 20.5
- MBS Xojo Plugins in version 20.5
- MBS Xojo Plugins, version 20.5pr3
- SSH Terminal example for Xojo
- SSH tunnel in Xojo
Release notes
- Version 20.5
- Added DataAvailable event and new Constructor for SSH2ChannelMBS class.
The items on this page are in the following plugins: MBS Network Plugin.
SQLValueReadMBS - SSH2ConnectFailedExceptionMBS