Download raw body.
add ssh -J support to commands which use network
On Wed, Dec 11, 2024 at 09:31:32PM +0100, Stefan Sperling wrote: > On Wed, Dec 11, 2024 at 06:27:53PM +0000, Lucas Gabriel Vuotto wrote: > > On Wed, Dec 11, 2024 at 06:13:59PM +0100, Stefan Sperling wrote: > > > Add a -J option to got clone, fetch, send, as well as cvg clone, > > > update, commit. This allows ad-hoc use of SSH jumphosts without > > > having to create entries in ~/.ssh/config. > > > > > > For example, I found this useful when I wanted to fetch from a > > > IPv6-only system while borrowing an IPv4-only wifi connection. > > > > > > ok? > > > > I don't know about the potential complexity, but wouldn't it be better > > to have an ssh_opts in got.conf instead? Having a dedicated flag for > > ProxyJump feels off for me. > > But that would involve editing a configuration file, too. The point > is avoid that overhead when reaching the configured remote without > a jumphost or vpn or whatever is impossible. And adding ssh_opts to got.conf would be no different to the current way of setting per-remote ssh options, which is to add a Host entry to ~/.ssh/config with whatever options are requried and using that Host entry as the server URL.
add ssh -J support to commands which use network