Handling Missing ~/.ssh Host entries can be improved #570
Closed
opened 2024-02-11 16:52:53 +00:00 by basebuilder
·
8 comments
Labels
Clear labels
abra
awaiting-feedback
backups
bug
build
ci/cd
community organising
contributing
coopcloud.tech
design
documentation
duplicate
enhancement
fedi
fedi-infra
finance
funding
good first issue
help wanted
installer
legal
performance
proposal
question
security
test
wontfix
Everything to do with abra
Ping/pong on comms
Something is not working
Go build related issues
Getting the robots into the mix
Opening this thing up
Contributors stuff
Our main website
Design thinking required
Let's write things together
This issue or pull request already exists
New feature
Democratic decision making
Money things
Anything related to grant funding
Easy start with development
Need some help
Installation related issues
Performance related
Large change which requires feedback & decisin making
More information is needed
Securing our shit
Unit or integration test suite
This won't be fixed
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Assignees
3wordchant
aadil (Aadil Ayub)
abra-bot (Abra Bot)
ammaratef45
amras (Sarma)
Apfelwurm
BornDeleuze
Brooke
carla
cas (Cassowary)
coopcloud
cyrnel
decentral1se (d1)
dede
devydave
fauno (fauno)
iexos
jade (Jade Ambrose)
jjsfunhouse
jmakdah2 (Jackie Makdah)
joe-irving (Joe Irving)
kawaiipunk (KawaiiPunk)
knoflook
kolaente
lambdabundesverband
linnealovespie (April)
moosemower
moritz
notplants
oxaliq (sorrel)
p4u1
pharaohgraphy (Andrew 🐦🔥❤️🔥✴️)
renovate-bot (Comrade Renovate Bot)
ripclap
simon
sixsmith (Sixsmith)
stevensting
trav (Trav Fryer)
val (val (he/him))
yksflip
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: toolshed/organising#570
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.organd 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
hostentry #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 andabraStep 1. Create SSH host entryOh 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/configanymore. So, you see the terminal hangup and if you pass--debug, you see it hanging:I'm not really enthusiastic about parsing the
~/.ssh/configagain 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 -houtput?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
abraas I just relied on my existing and functioning SSH config declarations which adhered to:ssh ... doesn't work then abra ... won't workcondition.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?
3f32dbb1a3