csshi icon indicating copy to clipboard operation
csshi copied to clipboard

Add multiple -o options

Open aflat opened this issue 1 year ago • 3 comments

This adds the ability to use more then 1 -o option on your ssh line, like

csshi -o ServerAliveInterval=300 -o GSSAPIAuthentication=no

I also added a project.toml, since my black formatting changed up your spacing. Feel free to tweak that as needed

aflat avatar Aug 06 '24 16:08 aflat

Hi George!

Great stuff. For some reason I thought ssh could take multiple options in a single '-o', but indeed it does not. I've cherry picked the code commit, and edited the associated debug output. Our house linter forces an "All Defaults All Day" policy, so I've re-applied the no-options black formatting :)

Update is on the main branch if you want to test it out. I'll cut a new homebrew release in a bit.

ilikejam avatar Aug 06 '24 17:08 ilikejam

Can you add a project.toml then with some defaults? To override anything that the user (like me :) might have set in their env? That 80 character limit just seems silly to me, but I do understand, it's the default

aflat avatar Aug 06 '24 18:08 aflat

Join us in our 88 character paradise!

ilikejam avatar Aug 08 '24 15:08 ilikejam