PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | French EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
<sshSession variable>.ConnectShell (Function)
In french: <Variable sshSession>.ConnecteShell
Starts a new SSH session of "Shell" type. This session can be closed by <sshSession variable>.DisconnectShell.
Remark: To send a command to the SSH server directly, use SSHCommand.
Versions 25 and later
Linux This function is now available for WEBDEV applications in Linux.
WINDEVLinux This function is now available for WINDEV applications in Linux.
New in version 25
Linux This function is now available for WEBDEV applications in Linux.
WINDEVLinux This function is now available for WINDEV applications in Linux.
Linux This function is now available for WEBDEV applications in Linux.
WINDEVLinux This function is now available for WINDEV applications in Linux.
Example
cMySession is sshSession
cMySession..Address = "127.0.0.1"
cMySession..Port = 22
cMySession..User = "login"
cMySession..UserPassword = "pass"
IF cMySession.ConnectShell() THEN
Info("Session started")
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 : wd260com.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment