Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
SSH login fails after letting karamel create its own key pair #21
Having a password protected key pair, I decided to let karamel create its own pair. However, karamel fails to log in to the created instances using the newly created key. The resulting error is shown below. Trying to log in to the created instances manually using the old key succeeds. Looking at the authorized_keys folder of the created instances it appears like the wrong public key was uploaded.
ERROR [2015-04-10 14:47:55,046] net.schmizz.concurrent.Promise: <> woke to: net.schmizz.sshj.userauth.UserAuthException: publickey auth failed
So adding more info: When providing the non-default keys to karamel (Using the
The confusing part was that you are still able to ssh into the machine even when providing
If you disable that behavior through the config change mentioned in the article you are no longer able to ssh into the instances when using
pushed a commit
Apr 14, 2015
This was happening because of mix of two issues:
The first issue is resolved in Karamel now, I will mention the second one in our documentation..