Michael Stapelberg
503c6819b2
breakglass: use httpclient.For() for host-specific fallback
2023-01-15 17:06:07 +01:00
Michael Stapelberg
1b4a9122b5
instance config: fix fallback to host-specific config
2023-01-15 13:46:02 +01:00
Michael Stapelberg
994987ee06
breakglass: read instance config
2023-01-15 13:36:50 +01:00
Michael Stapelberg
a9de5a1ae9
gofmt with Go 1.19
2022-08-07 10:18:05 +02:00
Michael Stapelberg
c21964dfd8
breakglass: support -tls flag, use -update logic for -gokrazy_url
...
fixes https://github.com/gokrazy/breakglass/issues/13
2022-04-30 21:27:18 +02:00
Michael Stapelberg
629a19f92d
breakglass command: add -proxy flag for easier ProxyCommand usage
...
Now you can use the following in your ~/.ssh/config for example:
Host scan2drive-backup
Hostname scan2drive.lan
IdentityFile ~/.ssh/id_ed25519_scan2drivebackup
ProxyCommand breakglass -proxy scan2drive.lan
2022-03-31 19:52:53 +02:00
Michael Stapelberg
0ee50d0171
breakglass: read host-specific http-port.txt
2022-03-26 19:42:52 +01:00
Michael Stapelberg
33834ea6fa
allow overwriting the gokrazy URL prefix
...
The special syntax :1080 means “use the default, but force port to 1080”,
which is useful when you are running the gokrazy web interface on a different
port because you need port 80 for your web appliance.
2021-10-24 18:10:37 +02:00
Michael Stapelberg
9eab5f8b0d
add -prepare and -ssh_config flags for usage in SSH ProxyCommand
...
E.g.:
Host router7
ProxyCommand /bin/sh -c 'breakglass -prepare_only -ssh_config=/dev/null -debug_tarball_pattern=$HOME/gokrazy/debug-\${GOARCH}.tar %h; /usr/bin/nc %h %p'
2021-09-19 19:12:47 +02:00
Michael Stapelberg
efff2172ee
breakglass: use internal/config to read HTTP password
2020-05-27 18:38:58 +02:00
Michael Stapelberg
8157f8ee60
add breakglass SSH wrapper tool (for convenience)
2020-05-25 09:31:54 +02:00