Tonis Tiigi
8a2a3e83ec
replace context.WithCancel with WithCancelCause
...
Keep stack traces for cancellation errors where possible.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2023-12-06 22:15:06 -08:00
Sebastiaan van Stijn
d7cdc0af92
session/sshforward: remove use of obsolete golang.org/x/net/context pkg
...
This package is an alias for "context", which has been part of
stdlib since go1.7, so should no longer be needed.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2022-12-08 03:05:13 +01:00
Sebastiaan van Stijn
21e9e9641e
Remove uses of deprecated io/ioutil
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2022-03-10 00:57:07 +01:00
Tonis Tiigi
307bdc3c3d
exec: fix mount options on userns remapping
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2019-10-29 14:20:40 -07:00
Tonis Tiigi
bc3a1eefdd
session: release forwarded ssh socket connection per connection
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2019-08-26 15:34:55 -07:00
Tonis Tiigi
d3597181e0
session: wrap errors with debug info
...
Make sure to cover the grpc errors origins.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2019-06-06 21:15:21 -07:00
Tonis Tiigi
347420e77f
sshprovider: allow keys from local files
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2018-09-10 14:12:41 -07:00
Tonis Tiigi
6888956557
sshforward: implement ssh socket forwarding
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2018-09-07 08:57:06 -07:00