且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

无法从本地robomongo连接Google Cloud的MongoDB

更新时间:2022-05-28 09:10:45

您可以通过以下两种方法从Robomongo中访问GCC(Google云计算)MongoDB.我正在使用SSH连接到我的GCC MongoDB.

There is a couple of ways you can get access to your GCC(Google Cloud Compute) MongoDB from your Robomongo. I'm using SSH to connect to my GCC MongoDB.

1,确保在~/.ssh/authorized_keys中的mongodb实例中具有ssh密钥.如果没有,则将您的密钥添加到其中.

1, Make sure you have your ssh key in your mongodb instance located in ~/.ssh/authorized_keys. If not, added your key into it.

2,创建连接:

3,设置您的SSH连接:

3, Set your SSH connection: