有没有一种干净的方法可以阻止ssh回显以下消息?
channel x: open failed: connect failed: connection refused
当隧道是间歇性的并且经常发生时,它确实弄乱了交互式控制台。
请您参考如下方法:
您可以在ssh配置文件中添加以下指令。 (通常〜/ .ssh / config)
Host yourHost
LogLevel QUIET
请注意,除了此问题中提到的日志记录之外,其他日志记录现在也可能被忽略
有没有一种干净的方法可以阻止ssh回显以下消息?
channel x: open failed: connect failed: connection refused
请您参考如下方法:
您可以在ssh配置文件中添加以下指令。 (通常〜/ .ssh / config)
Host yourHost
LogLevel QUIET