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.