Good afternoon. I'm using Mongodb 2.6.7 + Java driver ( IntelliJ).
Presently i have cluster RF5 4 inst.+1arbiter. I would like to connect to my primary using ssh, but i don't have any idea how to do it...
to connect to local host i'm using -
MongoClient client = new MongoClient( new ServerAddress("localhost", 27003)), but how can i made connection to concert IP address using my xxx.pem key?
Thank You in advance, hope for quick reply .