#9874 Cannot log into the test machines
Closed: Upstream 2 years ago by mobrien. Opened 2 years ago by pgrosu.

When I try to connect to any of the test servers I get the following error:

Permission denied (publickey).

I know it accepts the password I type, which I set for SSH.

This is similar to a previous issue (#9071).

Any Ideas on what to do?

Thank you,
Paul


Metadata Update from @asaleh:
- Issue tagged with: medium-gain, medium-trouble

2 years ago

Metadata Update from @humaton:
- Issue tagged with: ops

2 years ago

Which test servers did you try? I just checked on f33-test.fedorainfracloud.org and the ssh pub key for pgrosu is as below could you verify that this matches the key you are trying. Also note that these machines have not been ported to the new Auth system so are in a frozen state. Any key updates won't be reflected there.

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDrGPLjXc+9OweIftoOViM+fttottq5w0EzdvWQ/42CEynvzbLTuEYYPMrMt/pS8obqHF+dg0gE2lTWewj4UqxJaU2pLVTkDe2+g9+MsrLPCs2z+7RYBTULXKFs6OPcEvts2OPLuwJ720CSOLj7mTrJ/saQ8Y7g4EKw/oiDTcO9Ekv7XYBnmsjCME/4sUew26RyqRLu0pV7Ts4XMHSZVO96YX0sIyBl5DVe3voWSF7YygtTl9TE7Umbaqh+vACDbeDT+fGn0HKux2l2GPlBnWsHLOjAgs7ZgA3IZTbMQVXjlMtOFQfy1qgKFcB7lokC0gC9BL0enTg6bE/SRkM9yG7P pgrosu@login-students.ccs.neu.edu

Hi Mark (@mobrien),

I have performed the following tests:

1) I copied the public key (above) to a local university server and tested to see if my private key with its password are working correctly. That test was successful.

2) I then proceeded to test the following Fedora machines (include 33) and they all failed with the same error -- these used to work before:

-bash-4.2$ ssh -i fedora_test_server_id_rsa_private_key pgrosu@f33-test.fedorainfracloud.org
Enter passphrase for key 'fedora_test_server_id_rsa_private_key':
Permission denied (publickey).
-bash-4.2$ ssh -i fedora_test_server_id_rsa_private_key pgrosu@rawhide-test.fedorainfracloud.org
Enter passphrase for key 'fedora_test_server_id_rsa_private_key':
Permission denied (publickey).
-bash-4.2$ ssh -i fedora_test_server_id_rsa_private_key pgrosu@f32-test.fedorainfracloud.org
Enter passphrase for key 'fedora_test_server_id_rsa_private_key':
Permission denied (publickey).
-bash-4.2$ ssh -i fedora_test_server_id_rsa_private_key pgrosu@el8-test.fedorainfracloud.org
Enter passphrase for key 'fedora_test_server_id_rsa_private_key':
Permission denied (publickey).
-bash-4.2$ ssh -i fedora_test_server_id_rsa_private_key pgrosu@el7-test.fedorainfracloud.org
Enter passphrase for key 'fedora_test_server_id_rsa_private_key':
Permission denied (publickey).
-bash-4.2$ ssh -i fedora_test_server_id_rsa_private_key pgrosu@aarch64-test01.fedorainfracloud.org
Enter passphrase for key 'fedora_test_server_id_rsa_private_key':
Permission denied (publickey).
-bash-4.2$

3) I have not changed my key on https://admin.fedoraproject.org/accounts/. Is that the current Auth system to update public SSH keys? When will the machines begin to be ported to the new Auth system so the keys are synced? I ask since I have a colleague who will need them eventually, and he is also not able to get in after updating his public SSH key on the link above.

What would be the next step you would like me to do?

Thank you,
Paul

It looks as though this is a larger issue with these servers with a lot of users affected. I have raised a new ticket to track this in a more widespread manner. https://pagure.io/fedora-infrastructure/issue/9876.

I will close this in favour of that one.

Metadata Update from @mobrien:
- Issue close_status updated to: Upstream
- Issue status updated to: Closed (was: Open)

2 years ago

Thank you Mark for helping us out!
Paul

Login to comment on this ticket.

Metadata
Boards 1
ops Status: Done