Handling Missing ~/.ssh Host entries can be improved #570
Labels
No Label
abra
abra-gandi
awaiting-feedback
backups
bug
build
ci/cd
community organising
contributing
coopcloud.tech
democracy
design
documentation
duplicate
enhancement
finance
funding
good first issue
help wanted
installer
kadabra
performance
proposal
question
recipes.coopcloud.tech
security
test
wontfix
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: toolshed/organising#570
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When adding a new server via abra the process is not as user friendly as it can be #537. The requirement
1. a server with SSH access...
implies simply being able to runssh user@website.org
and be into a server. However, as the Docs mention later:This is not as clear as it can be (as it needs a specifically formatted
host
entry #566). When following the New Operators Tutorial for the second time, I made the mistake to not add an SSH entry which then threw the following stacktrace.This is a confusing UX. The first message written is
INFO[0000] successfully created...
the result is an empty folder and is added to the servers list. I see two viable things to slightly improve the UX for new Operator onboarding andabra
Step 1. Create SSH host entry
Oh yeh, totally agree 🤘 Great Report ™
decentral1se referenced this issue2024-03-27 06:18:36 +00:00
decentral1se referenced this issue2024-03-28 13:54:55 +00:00
@basebuilder curious on your thoughts here too. What happens now is just a plain 'ol timeout cus we don't parse the
~/.ssh/config
anymore. So, you see the terminal hangup and if you pass--debug
, you see it hanging:I'm not really enthusiastic about parsing the
~/.ssh/config
again cus it's hard to get right and tools likessh -G ...
actually spit out a default if there is a value missing, so I feel like this is again a documentation issue potentially.We can then emphasise that if
ssh ...
doesn't work thenabra ...
won't work. And this will be more true going forward now that we've removed any SSH customisations behind the scenes...This could be handled in the docs and the
abra server add -h
output?Actually yeh, a lot of room for improvement beyond my previous comment, working on it: coop-cloud/abra#421
039bd4257a
@decentral1se ehh hey there 👋 sorry for lag in response but you seemed to have blasted ahead beyond your question.
I'm not sure I follow what exactly you changed and the "docs" is only in code comment. This will need to updated in the Operators Tutorial as per #537
Following the tutorial was there I initially ran into the problem when I was learning to use
abra
as I just relied on my existing and functioning SSH config declarations which adhered to:ssh ... doesn't work then abra ... won't work
condition.This still needs a update in abra to show better error messages:
Instead it should say something like "Can't ssh to foo.bar. Make sure ssh foo.bar works"
Also the error message for a failed dns check should be improved
p4u1 referenced this issue2024-07-24 15:37:35 +00:00
The current error shows like this:
That seems to be clearer than the stack trace already, what other improvements are pending here?