leap init/deploy fails with Net::SSH::AuthenticationFailed
Not sure this is related with [1]
Following steps in [2], i choose one of my ssh keys after 'leap add-user --self', all works fine until:
leap list --print ip_address,domain.full,dns.aliases
= error while evaluating node 'leapexample' - offending key: authorized_keys - offending string: authorized_keys - error message: # = bailing out
monitor_ssh.pub is actually created in the next step:
leap node init production = connecting to node leapexample = fetching public SSH host key for leapexample This is the SSH host key you got back from node "leapexample" [...] = created files/nodes/leapexample/leapexample_ssh.pub = created files/ssh/monitor_ssh = created files/ssh/monitor_ssh.pub = created files/ssh/known_hosts = updating authorized_keys error: connection failed for: leapexample.example.org (Net::SSH::AuthenticationFailed: Authentication failed for user root@)
It doesn't ask me for the root password (as documentation says), and i can't guess if it's trying to use the ssh key by the error message.
Doing leap deploy leapexample also gets:
= checking node - executing "test ! -f /etc/leap/no-deploy" - servers: ["leapexample.example.org"] error: connection failed for: leapexample.example.org (Net::SSH::AuthenticationFailed: Authentication failed for user root@
Doing ssh works fine instead (ask for root password):
leap ssh leapexample
[1] https://leap.se/code/issues/6134 [2] https://leap.se/en/docs/tutorials/quick-start
(from redmine: created on 2014-12-10)