我使用 Renci SSH.NET 库创建了一个程序。它发送所有命令并正常读取结果。但是,当我发送以下命令时:
client.RunCommand("cli");
程序无限期地挂在这条线上。
对正在发生的事情有什么解释吗?
的cli是在Juniper使用命令交换机/路由器。
cli
.net c# ssh ssh.net juniper
.net ×1
c# ×1
juniper ×1
ssh ×1
ssh.net ×1