Add flag to aid in debugging abra server add #587

Closed
opened 2024-03-26 18:07:13 +00:00 by basebuilder · 2 comments

Recently a new abra user asked for support in #coopcloud-tech to debug why they could not successfully complete the abra server add <server> command.

The issue this newbie encountered was that their SSH connection was using a different user on their client machine than the user that what was available on the server they were trying to connect to (in the add sub-command).

Explicitly specifying the User value in the ~/.ssh/config file is one configuration method of avoiding this issues. However, as related issues #567 #566 #570 getting these configs right is tricky business.

It was suggested by @decentral1se that maybe adding a flag like abra server add --fuck could print what abra is intending to do in human friendly language such as which user, domain, ssh opts etc. Other names for this flag could be:

--deets
--d33ts
--halp
--print
--details

Alternatively abra could just show this information at start of --debug command

Recently a new `abra` user asked for support in [#coopcloud-tech](https://matrix.to/#/#coopcloud-tech:autonomic.zone) to debug why they could not successfully complete the `abra server add <server>` command. The issue this newbie encountered was that their SSH connection was using a different `user` on their client machine than the user that what was available on the server they were trying to connect to (in the `add` sub-command). Explicitly specifying the `User` value in the `~/.ssh/config` file is one configuration method of avoiding this issues. However, as related issues #567 #566 #570 getting these configs right is tricky business. It was suggested by @decentral1se that maybe adding a flag like `abra server add --fuck` could print what `abra` is intending to do in human friendly language such as which user, domain, ssh opts etc. Other names for this flag could be: ``` --deets --d33ts --halp --print --details ``` Alternatively `abra` could just show this information at start of `--debug` command
basebuilder added the
enhancement
abra
labels 2024-03-26 18:07:13 +00:00
Owner

@basebuilder following coop-cloud/abra#413 I'm wondering how to proceed on this one. It seems more like a documentation issue at this point, involving pointing people to the appropriate usage of ssh -vvv ... to discover exactly what goes on under the hood. All abra does now is run ssh <Host> .... Whatcha reckon?

There's a few SSH related tickets floating around which are related which I'm trying to triage now also.

@basebuilder following https://git.coopcloud.tech/coop-cloud/abra/pulls/413 I'm wondering how to proceed on this one. It seems more like a documentation issue at this point, involving pointing people to the appropriate usage of `ssh -vvv ...` to discover exactly what goes on under the hood. All `abra` does now is run `ssh <Host> ...`. Whatcha reckon? There's a few SSH related tickets floating around which are related which I'm trying to triage now also.
Owner

Seems resolved since the latest changes in SSH config handling. See tickets under "general fixes / improvements" on coop-cloud/organising#583. (TLDR; ssh -v tells you everything, abra does nothing additional now) There were also a few docs patches pushed.

Seems resolved since the latest changes in SSH config handling. See tickets under "general fixes / improvements" on https://git.coopcloud.tech/coop-cloud/organising/issues/583. (TLDR; `ssh -v` tells you everything, `abra` does *nothing* additional now) There were also a few docs patches pushed.
Sign in to join this conversation.
No description provided.