{"action":"created","issue":{"url":"https://api.github.com/repos/paralect/robomongo/issues/484","labels_url":"https://api.github.com/repos/paralect/robomongo/issues/484/labels{/name}","comments_url":"https://api.github.com/repos/paralect/robomongo/issues/484/comments","events_url":"https://api.github.com/repos/paralect/robomongo/issues/484/events","html_url":"https://github.com/paralect/robomongo/issues/484","id":28559466,"number":484,"title":"ssh tunnel using private key","user":{"login":"drujensen","id":18718,"avatar_url":"https://avatars.githubusercontent.com/u/18718?v=3","gravatar_id":"","url":"https://api.github.com/users/drujensen","html_url":"https://github.com/drujensen","followers_url":"https://api.github.com/users/drujensen/followers","following_url":"https://api.github.com/users/drujensen/following{/other_user}","gists_url":"https://api.github.com/users/drujensen/gists{/gist_id}","starred_url":"https://api.github.com/users/drujensen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drujensen/subscriptions","organizations_url":"https://api.github.com/users/drujensen/orgs","repos_url":"https://api.github.com/users/drujensen/repos","events_url":"https://api.github.com/users/drujensen/events{/privacy}","received_events_url":"https://api.github.com/users/drujensen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/paralect/robomongo/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":32,"created_at":"2014-03-01T15:46:33Z","updated_at":"2015-05-19T19:35:25Z","closed_at":null,"body":"I have not been able to successfully connect via tunnel using a private key. The private key doesn't have a pass phrase. I selected my ~/.ssh/id_dsa private key and verified that I can ssh from a terminal with no password requested.  I use this same technique using SQLPro for MySQL with no issues.\r\n\r\n![screen shot 2014-03-01 at 7 38 28 am](https://f.cloud.github.com/assets/18718/2301761/be44862a-a157-11e3-96c5-c1cbc1839a89.png)\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/paralect/robomongo/issues/comments/103646503","html_url":"https://github.com/paralect/robomongo/issues/484#issuecomment-103646503","issue_url":"https://api.github.com/repos/paralect/robomongo/issues/484","id":103646503,"user":{"login":"drujensen","id":18718,"avatar_url":"https://avatars.githubusercontent.com/u/18718?v=3","gravatar_id":"","url":"https://api.github.com/users/drujensen","html_url":"https://github.com/drujensen","followers_url":"https://api.github.com/users/drujensen/followers","following_url":"https://api.github.com/users/drujensen/following{/other_user}","gists_url":"https://api.github.com/users/drujensen/gists{/gist_id}","starred_url":"https://api.github.com/users/drujensen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drujensen/subscriptions","organizations_url":"https://api.github.com/users/drujensen/orgs","repos_url":"https://api.github.com/users/drujensen/repos","events_url":"https://api.github.com/users/drujensen/events{/privacy}","received_events_url":"https://api.github.com/users/drujensen/received_events","type":"User","site_admin":false},"created_at":"2015-05-19T19:35:25Z","updated_at":"2015-05-19T19:35:25Z","body":"@jonlachlan Thanks for your detailed response.\r\n\r\nEverything looks exactly the same:\r\nMac using Robomongo 0.8.5\r\nConnection tab -> address: localhost, port: 27017\r\nAuthentication tab -> \"Perform Authentication\" is turned off\r\nAdvanced tab -> Default Database is left blank\r\nSSL tab -> \"Use SSL Protocol\" is not checked\r\nSSH tab -> \"Use SSH tunnel\" is checked\r\n\"SSH Address\": first field is my server's IP address, second field is the port \"22\" as was default\r\n\"SSH User Name\": admin\r\n\"SSH Auth Method\": Set to Private Key\r\n\"Private Key\": Click the ... button to select your .pem file\r\n\"Passphrase\": left blank\r\n \r\nThe exception is that I am using \"~/.ssh/id_rsa\" file which I generated using `ssh-keygen -t rsa -b 2048 -C \"admin@mydomain.com\"`\r\n\r\nHow did you get the .pem format for your private key?  Did you manually convert it or did you use a different technique for generating your ssh pub/private keys?"}}