Commit Graph

  • bba58e7a3a Stuff main Timmy Welch 2025-02-16 17:53:26 -08:00
  • 86e60e7477 update to latest gokrazy/internal Michael Stapelberg 2025-01-26 22:46:35 +01:00
  • c9528b4abb try to install busybox into a tmpfs /bin (with fallback) Michael Stapelberg 2024-12-31 09:50:32 +01:00
  • 6c59aaaf28
    Bump golang.org/x/crypto from 0.17.0 to 0.31.0 (#20) dependabot[bot] 2024-12-12 08:22:41 +01:00
  • 0327ae332c breakglass: enable -enable_banner by default Michael Stapelberg 2024-06-09 22:11:23 +02:00
  • 09eeab3321
    Support getting public keys from AWS EC2 metadata (#18) Brad Fitzpatrick 2024-06-04 10:01:21 -07:00
  • 44b3fe64f1 remove ssh-rsa warning Michael Stapelberg 2024-05-29 19:59:05 +02:00
  • eacd5a447e
    Bump golang.org/x/crypto from 0.6.0 to 0.17.0 (#17) dependabot[bot] 2023-12-19 08:51:47 +01:00
  • e771a5894b pull in latest gokrazy/gokrazy for ifaddr change Michael Stapelberg 2023-08-12 11:30:49 +02:00
  • 158f63b4af go get -u Michael Stapelberg 2023-02-25 16:20:58 +01:00
  • c70a6e787c
    Bump golang.org/x/crypto from 0.0.0-20211215153901-e495a2d5b3d3 to 0.1.0 (#16) dependabot[bot] 2023-02-25 16:19:12 +01:00
  • cf2a123ac3
    Bump golang.org/x/sys from 0.0.0-20211216021012-1d35b9e2eb4e to 0.1.0 (#15) dependabot[bot] 2023-02-25 16:17:59 +01:00
  • 3d152bbe1b use config.NewStruct() Michael Stapelberg 2023-01-17 19:06:28 +01:00
  • 12997053e4 fix: ensure config.Struct.Update is set in compatibility branch Michael Stapelberg 2023-01-16 18:03:30 +01:00
  • d90cafaa81 breakglass: leave a TODO for removing -tls and -gokrazy_url Michael Stapelberg 2023-01-15 17:28:26 +01:00
  • 503c6819b2 breakglass: use httpclient.For() for host-specific fallback Michael Stapelberg 2023-01-15 17:06:07 +01:00
  • 1b4a9122b5 instance config: fix fallback to host-specific config Michael Stapelberg 2023-01-15 13:46:02 +01:00
  • 994987ee06 breakglass: read instance config Michael Stapelberg 2023-01-15 13:36:50 +01:00
  • d886921190 pull in latest github.com/gokrazy/internal Michael Stapelberg 2023-01-15 13:36:42 +01:00
  • 95ac9a06f8 README: update gokrazy instructions Michael Stapelberg 2023-01-14 10:28:44 +01:00
  • 2c1eed342d banner: build timestamp: read port from http-port.txt Michael Stapelberg 2022-11-08 21:51:53 +01:00
  • 3d820b07fa ensure $HOME directory exists Michael Stapelberg 2022-09-18 21:18:04 +02:00
  • de86d50573 go.mod: update to language version go 1.18, tidy Michael Stapelberg 2022-08-07 10:42:48 +02:00
  • a9de5a1ae9 gofmt with Go 1.19 Michael Stapelberg 2022-08-07 10:18:05 +02:00
  • 1e0db24f0e GitHub Actions: bump to Go 1.19 Michael Stapelberg 2022-08-07 10:10:23 +02:00
  • ccc003f8ea pull in latest gokrazy/internal Michael Stapelberg 2022-07-09 19:26:39 +02:00
  • c857ec6218 turn banner (printed before auth) into MOTD (printed after login) Michael Stapelberg 2022-07-09 18:38:32 +02:00
  • c21964dfd8 breakglass: support -tls flag, use -update logic for -gokrazy_url Michael Stapelberg 2022-04-30 21:27:18 +02:00
  • 48c5124500 unpack tar files copied via sftp subsystem, too (not just older scp) Michael Stapelberg 2022-04-17 15:32:45 +02:00
  • 7dbbe9b4b3 fix subsystem invocation: send exit code afterwards Michael Stapelberg 2022-04-17 15:23:09 +02:00
  • 097a6f87d6 pull in latest github.com/pkg/sftp Michael Stapelberg 2022-04-17 15:23:03 +02:00
  • ef69007a43 use renameio to avoid “text file busy” errors Michael Stapelberg 2022-04-09 00:11:47 +02:00
  • 564a0eceaf explicitly set TMPDIR Michael Stapelberg 2022-04-03 23:05:12 +02:00
  • 5a97592967 include /usr/local/bin in $PATH Michael Stapelberg 2022-04-03 23:05:02 +02:00
  • 629a19f92d breakglass command: add -proxy flag for easier ProxyCommand usage Michael Stapelberg 2022-03-31 19:52:53 +02:00
  • 087335e682 PATH: add /user so that programs installed with gokrazy are found Michael Stapelberg 2022-03-31 19:33:58 +02:00
  • 0a14bc7f0c set HOME=/perm/home for persistent configs in interactive usage Michael Stapelberg 2022-03-31 19:32:11 +02:00
  • 0ee50d0171 breakglass: read host-specific http-port.txt Michael Stapelberg 2022-03-26 19:42:52 +01:00
  • 7131bc5abe GitHub Actions: bump to Go 1.18 Michael Stapelberg 2022-03-20 16:01:24 +01:00
  • f41ca45656 add an optional banner to greet the user Christian Heusel 2022-03-06 23:06:23 +01:00
  • ae89d9b070 Add a warning for ssh-rsa keys in authorized keys Christian Heusel 2022-03-06 21:55:03 +01:00
  • 0fd4350464 make the port configurable for development Christian Heusel 2022-03-06 21:22:28 +01:00
  • 26c3398fb8
    Document that RSA keys do not work (#12) Christian Heusel 2022-03-04 22:23:08 +01:00
  • 63f8dd47bf
    Correct minor typo (#10) Christian Heusel 2022-03-03 08:14:22 +01:00
  • 9d823f94f0 README: explicitly mention both packages Michael Stapelberg 2022-01-03 11:40:57 +01:00
  • ae8e20729e README: line-wrap Michael Stapelberg 2022-01-03 11:40:21 +01:00
  • 77705dbe49 update README to use package config for authorized keys Michael Stapelberg 2022-01-03 11:39:01 +01:00
  • 9bea6256b0
    Create host key if not found (#8) andig 2021-12-19 18:50:16 +01:00
  • 339c9ce56c GitHub Actions: trigger on all branches Michael Stapelberg 2021-11-28 16:00:38 +01:00
  • 83d59cddd7 recommend ed25519 host keys Michael Stapelberg 2021-11-28 15:58:55 +01:00
  • 21a04c8c8b pull in latest golang.org/x/crypto Michael Stapelberg 2021-11-28 12:03:41 +01:00
  • d06342049c add GitHub Actions config Michael Stapelberg 2021-10-24 18:19:34 +02:00
  • 0c9f029ca2 upgrade to latest gokrazy/... packages Michael Stapelberg 2021-10-24 18:19:06 +02:00
  • 33834ea6fa allow overwriting the gokrazy URL prefix Michael Stapelberg 2021-10-24 18:10:37 +02:00
  • 9eab5f8b0d add -prepare and -ssh_config flags for usage in SSH ProxyCommand Michael Stapelberg 2021-09-19 19:12:47 +02:00
  • b54c2f919e SSH: wire up SFTP subsystem Michael Stapelberg 2021-06-06 13:54:30 +02:00
  • 1a4768ba69
    Add port forwarding (-forward flag) (#7) andig 2021-01-18 09:46:20 +01:00
  • efff2172ee breakglass: use internal/config to read HTTP password Michael Stapelberg 2020-05-21 18:26:51 +02:00
  • 942ef7f559 README: update to use breakglass tool Michael Stapelberg 2020-05-25 09:44:56 +02:00
  • 8157f8ee60 add breakglass SSH wrapper tool (for convenience) Michael Stapelberg 2020-05-25 09:31:54 +02:00
  • 6a8318bdb5 pick up shell from github.com/gokrazy/serial-busybox if present Michael Stapelberg 2020-05-25 08:58:37 +02:00
  • 00ea9a7166 link to README section “installation” when keys are missing Michael Stapelberg 2020-04-08 14:28:31 +02:00
  • 3bc0b09635 README: ssh: any type works Michael Stapelberg 2019-09-28 11:07:43 +02:00
  • f51c367b88 README: ssh: use a clearer example in the installation instructions Michael Stapelberg 2019-09-28 11:07:07 +02:00
  • ae96dda1f3 declare a Go module Michael Stapelberg 2019-03-21 09:37:16 +01:00
  • 1cd81ed58b parse SSH keys line-wise, skip empty/comments Michael Stapelberg 2019-03-21 09:36:40 +01:00
  • d3f89caa0a README: use sdx to prevent mistakes Michael Stapelberg 2019-02-07 14:41:23 +01:00
  • 9d10c020d8 ssh: fix shell payload string length (#2) Anisse Astier 2018-12-28 16:20:43 +01:00
  • 05fda29dea scp: don’t error out on directories in the tarball Michael Stapelberg 2018-12-15 14:47:34 +01:00
  • c11ed6a015 use ssh.Unmarshal Michael Stapelberg 2018-10-29 18:42:56 +01:00
  • 77088e03a7 Forward correct exit status to client (#1) Axel Wagner 2018-10-25 12:49:32 +02:00
  • a1fd5f6920 ensure processes are killed when client disconnects Michael Stapelberg 2018-07-22 23:04:18 +02:00
  • 05c84e7002 ssh: run commands through sh -c if sh is present Michael Stapelberg 2018-06-23 16:14:33 +02:00
  • b99b39b334 include the breakglass mountpoint in $PATH Michael Stapelberg 2018-06-23 15:45:50 +02:00
  • a8f85f5027 ssh: default to starting "sh" on shell requests instead of erroring Michael Stapelberg 2018-06-23 15:43:08 +02:00
  • 0d8462cfe7 ssh: send exit-status request for successful commands Michael Stapelberg 2018-06-23 15:42:41 +02:00
  • 6184621747 exec: answer request once command is running Michael Stapelberg 2018-06-11 23:18:11 +02:00
  • ae93fa3cab exec: write stderr to SSH stderr channel, not stdout Michael Stapelberg 2018-06-11 23:17:46 +02:00
  • 8eb60e64b7 use Fatalf Michael Stapelberg 2018-06-11 21:42:45 +02:00
  • 448a389515 Initial commit Michael Stapelberg 2017-03-04 11:09:10 +01:00