SSHAuthMode Parameter (Connect-DB2 Cmdlet)
The authentication method used when establishing an SSH Tunnel to the service.
Syntax
Connect-DB2 -SSHAuthMode string
Possible Values
None, Password, Public_KeyData Type
cstr
Default Value
"Password"
Remarks
- None: No authentication is performed. The current User value is ignored, and the connection is logged in as anonymous.
- Password: The cmdlet uses the values of User and Password to authenticate the user.
- Public_Key: The cmdlet uses the values of User and SSHClientCert to authenticate the user. SSHClientCert must have a private key available for this authentication method to succeed.