尝试通过 ssh 连接到交换机

问题描述 投票:0回答:0

我目前正在开发一个 PowerShell gui,它允许我连接到我们公司的所有交换机,当我单击 gui 中的按钮时,它应该打开命令提示符并允许我从那里编辑交换机。我的同事给了我代码,当我将其放入命令提示符时,该代码可以工作,但是当我尝试在 gui 中运行它时,会出现错误。

Start-Process ssh -o KexAlgorithms=diffie-hellman-group14-sha1 Username@IP

enter image description here

user-interface ssh powershell-ise
© www.soinside.com 2019 - 2024. All rights reserved.