Skip to content

SSH with public key not working #93

@nrbrook

Description

@nrbrook

Even if I specify the public key to use, MongoHub gives a "Wrong password" error.

If I look in the console I see:

02/10/2013 11:26:46.379 MongoHub[27151]: /usr/bin/ssh -L 40005:localhost:27017 -v -N -o ConnectTimeout=28 -o NumberOfPasswordPrompts=1 -o ConnectionAttempts=1 -o ExitOnForwardFailure=yes -o StrictHostKeyChecking=no -o ServerAliveInterval=30 -o ServerAliveCountMax=3 -o TCPKeepAlive=yes -C -p 1234 -l nick redacted.website -i /Users/nick/.ssh/id_rsa.pub

02/10/2013 11:26:47.033 MongoHub[27151]: SSH TUNNEL ERROR: Error Domain=MHTunnelDomain Code=6 "Wrong password" UserInfo=0x108746660 {NSLocalizedDescription=Wrong password}

If I run the command it logged directly in terminal it does open the tunnel and then I can connect to Mongo on localhost:40005

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions