【发布时间】:2017-09-24 04:10:00
【问题描述】:
如何使用来自 sshserver 的 apache sshd 打开连接到已连接 ssh 客户端的“shell”通道。 RFC 4254 提及
When either side wishes to open a new channel, it allocates a local number for the channel
这意味着服务器也可以打开一个通道到客户端。
但我在org.apache.sshd.server.session.ServerSession.. 上没有看到任何 API?我错过了什么..?我的要求是从 sshserver 异步向 sshclient 发送消息。
【问题讨论】: