add debug output to show which SSH key was selected for connection #249

Closed
opened 2021-11-18 16:00:50 +00:00 by 3wordchant · 1 comment
Owner

Describe the problem to be solved

There doesn't seem to be a way to see which SSH key abra chose for an SSH connection.

This can make it hard to debug key-selection issues with connections.

Describe the solution you would like

Add a DEBUG statement showing which SSH key was chosen.

## Describe the problem to be solved There doesn't seem to be a way to see which SSH key abra chose for an SSH connection. This can make it hard to debug key-selection issues with connections. ## Describe the solution you would like Add a DEBUG statement showing which SSH key was chosen.
3wordchant added the
enhancement
abra
labels 2021-11-18 16:00:50 +00:00
Owner

Tested 56c3e070f5 and it seems to cover us here. We're lacking docs but abra supports building SSH connections with ssh-agent or using password auth so this commit asks the ssh-agent to list what keys it has loaded (which SSH will use one after the other until one matches afaiu).

Tested https://git.coopcloud.tech/coop-cloud/abra/commit/56c3e070f56e551c24f5a59153a418cdea1b5e65 and it seems to cover us here. We're lacking docs but `abra` supports building SSH connections with `ssh-agent` or using password auth so this commit asks the `ssh-agent` to list what keys it has loaded (which SSH will use one after the other until one matches afaiu).
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/organising#249
No description provided.