Consolidate SSH handling #255
Merged
decentral1se
merged 1 commits from 2023-02-02 08:37:19 +00:00
conslidate-ssh into main
No Reviewers
Labels
Clear labels
bug
build
ci/cd
critical fix
design
documentation
duplicate
easy-first-issue
enhancement
help wanted
i10n
i18n
installer
invalid
question
release
release-candidate
security
tech-debt
test
wontfix
Something is not working
go build related issues
Building things with CI/CD
https://docs.coopcloud.tech/federation/resolutions/passed/010/
UI/UX
Documenting all the things
This issue or pull request already exists
Something for new people to get stuck into. We hope it's easy!
New feature
Need some help
Everything to do with localisation
Everything to do with internationalisation
Everything to do with the install script.
Something is wrong
More information is needed
Release management
Related to the new release candidate
Security related
Unit/integration testing
This won't be fixed
No labels
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/abra#255
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.
This is a breaking change. Docs PR is coop-cloud/docs.coopcloud.tech#124
Change log:
abracan no longer install docker, initialise swarm and the proxy network. It will check if docker exists and is in swarm mode or not and error out accordingly. We leave the provisioning to tools that are designed for that.abra server add <host>is the only interface now. The<host>should correspond to aHost <host>entry in your~/.ssh/configor in anInclude <file>statement (hosts are retrieved viassh -G <host>). This means "how doesabrainteract with SSH is 1) do you have an~/.ssh/configentry for<host>2) can youssh <host>successfully? 3) there is no 3. It's an easier mental model and also the wayabra-bashworks, hence, less weird obscure errors. Public<host>names are still required.abrano longer tries to do the TOFU host key verification prompt. We follow the praxis of the Docker cli itself and just give up when host keys are not validated. We leave it to folks to ssh and verify themselves.Refactored internal docker client creation & validation to only happen at command initialisation and be threaded down into the internals. It's easier to reason about where things might be going wrong for SSH connections in the code now.
Basically all of the custom SSH handling code is gone now! SSH connection building is done in one place and validated in one place.
--localonserver addstill works, error messages are arguably better now.Concerns?
cef9eddb1dtobdfe6ad1f7bdfe6ad1f7to9b2510108b9b2510108bto59d23d420659d23d4206to2f59b185722f59b18572to99757a2ae699757a2ae6tod9eb0d9cbfWIP: consolidate SSH handlingto Consolidate SSH handlingd9eb0d9cbftoa0d3a0abcfa0d3a0abcfto4bcdb4e3cf4bcdb4e3cftoa0ba70352ba0ba70352bto05d5f2700105d5f27001toc1007adb7e