ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / SSH functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Starts a new SSH session of "Shell" type. This session can be closed by <sshSession variable>.DisconnectShell.
Note To send a Command directly to the SSH server, use SSHCommand.
Example
cMaSession is sshSession
cMaSession.Address = "127.0.0.1"
cMaSession.Port = 22
cMaSession.User = "login"
cMaSession.UserPassword = "pass"
IF cMaSession.ConnecteShell() THEN
	Info("Session ouverte")
END
Syntax
<Result> = <SSH session>.ConnectShell()
<Result>: Boolean
  • True if the session was started,
  • False otherwise.
<SSH session>: sshSession variable
Name of the sshSession variable containing the connection parameters of the SSH session to open.
Component: wd300com.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/24/2024

Send a report | Local help