SSHAuthMode Parameter (Connect-DB2 Cmdlet)
The authentication method used when establishing an SSH Tunnel to the service.
Connect-DB2 -SSHAuthMode string
Possible ValuesNone, Password, Public_Key
- 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.