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.
我用 Tamir.SharpSsh 编写了一个简单的代码到 SSH 连接:
SshStream ssh = new SshStream(txt_ip.Text, txt_user.Text, "foo"); var output = ssh.ReadResponse();
成功连接到客户端后,我想直接向客户端发送一些密钥,有人知道我是怎么做的吗?
它通过这段代码解决
ssh.Write("\u0003");