UseSSH Parameter (Connect-PostgreSQL Cmdlet)
Whether to tunnel the PostgreSQL connection over SSH. Use SSH.
Syntax
Connect-PostgreSQL -UseSSH SwitchParameter
Data Type
bool
Default Value
false
Remarks
By default the cmdlet will attempt to connect directly to PostgreSQL. When this option is enabled, the cmdlet will instead establish an SSH connection with the SSHServer and tunnel the connection to PostgreSQL through it.