Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

host{0,1,2}.example.org ssh authentication fails #26

Open
Drehmini opened this issue Jun 19, 2019 · 1 comment
Open

host{0,1,2}.example.org ssh authentication fails #26

Drehmini opened this issue Jun 19, 2019 · 1 comment

Comments

@Drehmini
Copy link

Drehmini commented Jun 19, 2019

As the subject states, authentication fails when trying to ssh.

Here's a print out of the terminal

~/workspace $ fping host{0,1,2}.example.org
host0.example.org is alive
host1.example.org is alive
host2.example.org is alive



    Cool!

    These hosts were already provisioned with the ssh key of this node. So you don't have to deal with setting up keys and can directly ssh into any of them as root user.

    Try it and don't forget to get back to continue (run exit once you got there):

    ssh host0.example.org

~/workspace $ ssh host0.example.org
The authenticity of host 'host0.example.org (172.18.0.2)' can't be established.
ECDSA key fingerprint is SHA256:GcQIpCuKx9yOfsw5HrxBUdfnAkquoq+NIm6EMoh1io0.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'host0.example.org,172.18.0.2' (ECDSA) to the list of known hosts.
Authentication failed.
~/workspace $ ssh host0.example.org
Authentication failed.
~/workspace $ ssh host1.example.org
The authenticity of host 'host1.example.org (172.18.0.3)' can't be established.
ECDSA key fingerprint is SHA256:GcQIpCuKx9yOfsw5HrxBUdfnAkquoq+NIm6EMoh1io0.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'host1.example.org,172.18.0.3' (ECDSA) to the list of known hosts.
Authentication failed.
~/workspace $ ssh host2.example.org
The authenticity of host 'host2.example.org (172.18.0.4)' can't be established.
ECDSA key fingerprint is SHA256:GcQIpCuKx9yOfsw5HrxBUdfnAkquoq+NIm6EMoh1io0.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'host2.example.org,172.18.0.4' (ECDSA) to the list of known hosts.
Authentication failed.
~/workspace $

Using a Oracle Linux 7 host with docker Docker version 18.09.1-ol, build e32a1bd

@Drehmini Drehmini changed the title host{0,1,2}.example.org ssh authentication failed host{0,1,2}.example.org ssh authentication fails Jun 19, 2019
@slipstick73
Copy link

I have this same issue 5 years later. Is there something special one has to do to get the SSH to the three hosts working?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants