SSH2SessionMBS class
Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version
22.2
22.3
22.4
22.5
23.0
23.1
23.2
23.3
23.4
23.5
24.0
24.1
The list of the topics,
classes,
interfaces,
controls,
modules,
global methods by category,
global methods by name,
screenshots,
licenses
and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
SSH2SessionMBS class
The class for a SSH2 session.
- event KeyboardCallback(Name as string, Instruction as string, PromptCount as Integer, Prompts() as SSH2UserAuthKeyboardInteractivePromptMBS, responses() as SSH2UserAuthKeyboardInteractiveResponseMBS)
- 8 properties
- 24 methods
- method Banner as string
- method ConfigureKeepAlive(WantReply as Boolean = true, Interval as Integer = 2)
- method Constructor(IP as string, Port as Integer = 22, TimeOut as Integer = 30)
- method Constructor(socket as TCPSocket)
- method Constructor(socketHandle as Integer, CloseSocketLater as boolean = false)
- method Destructor
- method Disconnect(description as string)
- method Disconnect(reason as Integer, description as string, lang as string = "")
- method HostKey(byref Type as Integer) as string
- method HostKeyHash(HashType as Integer) as string
- method OpenDirectTCPIPChannel(host as string, port as integer, sourceHost as string = "127.0.0.1", sourcePort as Integer = 22) as SSH2ChannelMBS
- method OpenSession as SSH2ChannelMBS
- method SessionFlag(Flag as Integer, Value as boolean)
- method SessionHandshake
- method SetBanner(Banner as string)
- method SetMethodPreference(methodType as Integer, Pref as string) as Boolean
- method SupportedAlgorithms(methodType as Integer) as String()
- method UserAuthKeyboardInteractive(UserName as string)
- method UserAuthList(username as string) as string
- method UserAuthPassword(UserName as string, Password as string)
- method UserAuthPublicKeyFromFile(UserName as string, publickey as folderitem, privatekey as folderitem, Passphrase as string)
- method UserAuthPublicKeyFromFile(UserName as string, publickey as string, privatekey as string, Passphrase as string)
- method UserAuthPublicKeyFromMemory(UserName as string, publickey as string, privatekey as string, Passphrase as string)
- method WaitSocket(TimeOut as Double = 0.1)
- 3 shared methods
- 64 constants
This class has no sub classes.
Some methods using this class:
Some properties using for this class:
Some examples using this class:
Blog Entries
Videos
Release notes
- Version 22.5
- Version 22.3
- Added TimeOut parameter for WaitSocket method in SSH2SessionMBS class to customize it.
- Changed constructor for SSH2SessionMBS class to be multi threaded and yield more.
- Version 18.5
- Version 18.3
- Added SSH2SessionMBS.OpenDirectTCPIPChannel function to tunnel request through server.
- Updated SSH2SessionMBS.Constructor to work with IPv4 and IPv6 as well as domain names.
The items on this page are in the following plugins: MBS Network Plugin.
SSH2ConnectFailedExceptionMBS
-
SSH2TunnelMBS