bootstrap SFTP subsystem

This commit is contained in:
nora 2024-08-30 18:44:09 +02:00
parent 8de8204bc7
commit a9e2edc572
15 changed files with 205 additions and 17 deletions

View file

@ -230,6 +230,11 @@ async fn handle_session_channel(
channel.send(ChannelOperationKind::Eof).await?;
channel.send(ChannelOperationKind::Close).await?;
}
ChannelRequest::Subsystem { want_reply, .. } => {
if want_reply {
channel.send(ChannelOperationKind::Failure).await?;
}
}
ChannelRequest::ExitStatus { .. } => {}
ChannelRequest::Env { .. } => {}
};