Cmdlets for DB2

Build 23.0.8839

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_Key

Data 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.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839