Info |
---|
The connection using ssh SSH is not available in the Community Edition of Mongo Management Studio. |
Info |
---|
The connection using ssh SSH is available in version 1.1.0 or higher. |
To create a new connection to a mongo database over ssh using SSH you open the window with all connections by clicking the "Connect" button. Here you click "New connection" and you will see the following prompt:
...
A valid MongoDB connection string (http://docs.mongodb.org/manual/reference/connection-string/). Please enter the connection string as if the MongoDB server would be reachable without SSH. The input fields for ssh SSH will follow later on.
Login database
...
Only required with activated MongoDB authentication. Determines to which database should be connected . With disabled MongoDB authentication, all databases are always displayed.
Connection over SSH
Shows the ssh configurations SSH configurations when activated.
SSH Server
Address of the destination ssh server SSH server (IP or hostname).
SSH port
...
The local port which is used for the ssh tunnelSSH tunnel. The input is optional. The default value is computed by the system. But in case the computed port is already in use, you will get an error message. Then you can enter a different, not in use port here.
SSH username
The name of the ssh user SSH user in the destination server.
SSH password
The ssh passwordSSH password.
Private SSH key
The absolute path to the private ssh key SSH key file.
SSH key file password
The password of the private ssh key SSH key file.
Default connection
Tags this connection as default. On each applications' start it is automatically connected to this connection. Can only be selected for one connection.
...
After entering the data you can click "Save and connect". The connection over ssh will using SSH will be established. When you hover over the name of the connection in the left navigation you will see the connection string used by the system.
Disconnect the
...
SSH connection
There is a button "Close all SSH connections" in the list with all connections. It will close all ssh connectionsSSH connections. This also happens when exiting the app. Usually it is not necessary to close the ssh connections the SSH connections manually. It is only required after editing the settings of an existing ssh connectionSSH connection.