Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
リモート端末に特別なキーを送信する必要がありますが、JSCHでそれを行うにはどうすればよいですか?
ありがとう、
ウォルター
0x03、0x04の2バイトを送信してみてください。
詳細については、 ASCIIテーブルを確認してください。
必要に応じて、sshjに切り替え、シグナル列挙を使用してシグナルを送信しました。
次のようなシグナルを送信できます。
channel.sendSignal("2"); // sends (CTRL+C) signal