how to create ssh connection with remote mongodb server using mongohub and a private key

0

1

i'm using trying to use mongohub to access data on a remote mongodb server. right now I can ssh on to the server using the following command:

ssh -i mykey.pem ubuntu@xx.xxx.x.xxx

The userid is ubuntu and I can point to the key file, but mongohub keeps crashing. this video explains how to configure when using a password, but i'm just trying to use a key. Also, I don't want to mess around with the ssh file on our db as it's up and running. Hoping there's a quick set-up.

dwstein

Posted 2013-12-16T17:41:40.113

Reputation: 171

This is not a good way to ask for help. There are no error messages, no log file outputs, no list of things tried without success. Above all, there is no clear indication of why the two things (ssh and the crash in mongodb) should be connected. – MariusMatutiae – 2013-12-16T18:13:20.313

Rather than print the entire crash report here, i'm hoping there's a nice little tutorial someone can point me toward on how to configure the server connection in mongohub. – dwstein – 2013-12-16T18:18:02.730

I would suggest googling for "passwordless ssh" if the link you gave was not enough. Or otherwise follow what you were asked in the form or "I tried this, but but couldn't get it to work here, because of this" – Neil Lunn – 2014-02-17T10:48:17.377

No answers