I've just found a development box which I can SSH into and I then installed MongoDB onto it and am connecting with pymongo. However when I try and connect I get a time out issue. My issue is how to set the credentials when I connect via the string:
client = MongoClient("mongodb://99.99.99.99/db_name")
Where can I set-up the SSH credentials or is it simply not possible to use a mongo server in this way? I'd like to be able to use username:password to get in, I saw something on ssh tunneling here:
https://www.digitalocean.com/community/tutorials/how-to-securely-configure-a-production-mongodb-server