User Property
The username for SSH authentication.
Object Oriented Interface
public function getUser(); public function setUser($value);
Procedural Interface
ipworksauth_sshauth_get($res, 21 ); ipworksauth_sshauth_set($res, 21, $value );
Default Value
''
Remarks
User specifies the username which is used to authenticate the client to the SSH server. This property is required.
Example (User/Password Auth):
Control.SSHAuthMode = SshauthSSHAuthModes.amPassword
Control.SSHUser =
"username"
Control.SSHPassword =
"password"
Control.SSHLogon(
"server"
, 22)
Control.SSHAuthMode = SshauthSSHAuthModes.amPublicKey
Control.SSHUser =
"username"
Control.SSHCertStoreType = SSHCertStoreTypes.cstPFXFile;
Control.SSHCertStore =
"cert.pfx"
;
Control.SSHCertStorePassword =
"certpassword"
;
Control.SSHCertSubject =
"*"
;
Control.SSHLogon(
"server"
, 22)
Data Type
String