Cmdlets for MongoDB

Build 24.0.9060

UseSSH Parameter (Connect-MongoDB Cmdlet)

Whether to tunnel the MongoDB connection over SSH. Use SSH.

Syntax

Connect-MongoDB -UseSSH SwitchParameter

Data Type

bool

Default Value

false

Remarks

By default the cmdlet will attempt to connect directly to MongoDB. When this option is enabled, the cmdlet will instead establish an SSH connection with the SSHServer and tunnel the connection to MongoDB through it.

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