feat: add support for X11 forwarding (#7205)

* feat: add support for X11 forwarding

* Only run X forwarding on Linux

* Fix piping

* Fix comments
This commit is contained in:
Kyle Carberry
2023-04-21 15:52:40 +00:00
committed by GitHub
parent 6f06f8dadb
commit f39e6a79de
7 changed files with 324 additions and 11 deletions
+1 -1
View File
@@ -161,7 +161,7 @@ type agent struct {
}
func (a *agent) init(ctx context.Context) {
sshSrv, err := agentssh.NewServer(ctx, a.logger.Named("ssh-server"), a.sshMaxTimeout)
sshSrv, err := agentssh.NewServer(ctx, a.logger.Named("ssh-server"), a.filesystem, a.sshMaxTimeout, "")
if err != nil {
panic(err)
}