diff options
Diffstat (limited to 'oxish/src')
| -rw-r--r-- | oxish/src/session/connections.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/oxish/src/session/connections.rs b/oxish/src/session/connections.rs index e514a70..6f9d23b 100644 --- a/oxish/src/session/connections.rs +++ b/oxish/src/session/connections.rs @@ -116,6 +116,13 @@ impl Channels { Some(TerminalState::Running(terminal)) => terminal.resize(&window_change)?, _ => warn!("window-change request without running terminal"), }, + // Agent forwarding is not supported -- only reply when asked + ChannelRequestType::AuthAgentReq => { + if request.want_reply { + encoder.enqueue(&channel.failure())?; + } + return Ok(()); + } } if request.want_reply { |
