c#SshClient RunCommand错误

时间:2017-06-27 08:02:31

标签: c# bash runcommand

通过SshClient我可以连接到机器,但是当我运行代码时:

using (var client = new SshClient(_server, _user, _password))
                {
                    client.Connect();

                    var commandResult = client.RunCommand("obj <- Service$new()");

var commandResult2 = client.RunCommand(“obj $ setJsonData(”+ json +“)”);

                    var response = commandResult.Result;
                    client.Disconnect();
                }

我收到此错误: 有效载荷不能超过32768字节

如何设置更大的尺寸?

0 个答案:

没有答案