我正在运行最新的工作台:
SCAP Workbench 1.2.1, compiled with Qt 5.13.2, using OpenSCAP 1.4.0
由于套接字错误,我无法使用 RHEL7(DISA STIG 配置文件 - 或任何配置文件)在远程服务器上运行扫描...其他人有这个问题吗?
无法连接到远程机器!异常为:There was a problem with SshConnection! Failed to create SSH master socket!
*诊断信息:
Starting process '/usr/bin/ssh -M -f -N -o ServerAliveInterval=60 -o ControlPath=/private/var/folders/k_/kg_8n79x5z54fk4fln24j10r0000gn/T/scap-workbench-wJhTVS/ssh_socket -p 22 maintuser@aws' Starting process '/usr/bin/ssh -M -f -N -o ServerAliveInterval=60 -o ControlPath=/private/var/folders/k_/kg_8n79x5z54fk4fln24j10r0000gn/T/scap-workbench-wJhTVS/ssh_socket -p 22 maintuser@aws' stdout: =============================== stderr: =============================== unix_listener: path "/private/var/folders/k_/kg_8n79x5z54fk4fln24j10r0000gn/T/scap-workbench-wJhTVS/ssh_socket.Mw5tqcJq4uuoTEAg" too long for Unix domain socket
因此看起来 ControlPath 中的字符串长度太长了。
我想知道是否有办法控制该值?有人遇到过这个问题吗?我在两台 Mac 上都试过了,但都遇到了同样的问题。
答案1
在 GitHub 上找到了修复程序......
https://github.com/OpenSCAP/scap-workbench/issues/254
TMPDIR=/tmp;打开/Applications/scap-workbench.app