Consolidate SSH handling to only speak to /usr/bin/ssh #380
Loading…
x
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?
Attempts in
ssh
do not use the binary directly and therefore we've run into a lot of issues.Ideally, we can drop that implementation and just use SSH directly. This should make things easier to reason about and debug SSH related issues. See coop-cloud/organising#345 for more reasons why. We should then get
~/.ssh/config
integration for free.We do want to retain the TOFU prompt for servers without host keys. Instead of having our own hand-rolled one, we'll have the usual system SSH one. We just need to thread user input in.
This change should be seamless except for the change in host key prompt. There may be others and I'll update the ticket as I dive into this. Hopefully not a big breaking change.
decentral1se referenced this issue from toolshed/abra2023-01-21 19:11:10 +00:00
Breaking one part of this into coop-cloud/organising#389.
Actually, I realise that the Docker CLI doesn't even bother:
It runs
ssh
directly and does pick up the SSH config correctly. It seems like this would be the simplest interaction model thatabra
could follow. I wonder if that would be useful for us also to do? 🤔Major distros support + "The -G option was introduced in openSSH 6.8, in 2015. You should be pretty safe." so I think this is the way to go! Hope this will be simple in implementation. Taking a pause on working on this atm while we work out Autonomic budget stuff.
decentral1se referenced this issue from toolshed/abra2023-01-31 20:43:01 +00:00