Skip to content

Can't connect to remote host when running scap-workbench on Windows 11 #2247

@coderunner34-ahruphey

Description

@coderunner34-ahruphey

I receive this issue/error in the Diagnostics window, it is apparent that the bundled SSH executables are trying to write/read to Unix file paths, and there is no documentation or configuration to modify this behavior.

I reviewed several issues that appeared similar, one mentioning that a system restart resolved the problem, but that did not remediate my issue.

`
Can't connect to remote machine! Exception was: There was a problem with SshConnection! Failed to create SSH master socket! Diagnostic info: Starting process 'ssh.exe -M -f -N -o ServerAliveInterval=60 -o ControlPath=C:/Users/BERTSC1/AppData/Local/Temp/tMg1pQ/ssh_socket -p 22 @<IP_address>' Starting process 'ssh.exe -M -f -N -o ServerAliveInterval=60 -o ControlPath=C:/Users/BERTSC1/AppData/Local/Temp/tMg1pQ/ssh_socket -p 22 @<IP_address>' stdout: =============================== stderr: =============================== Host key verification failed.

`
Client system

Windows 11 Microsoft Windows Version 2+2 (0S Build 26100.4349) Microsoft Corporation. All rights reserved.

Software
SCAP Workbench 1,1.5, compiled with Qt 48.7, using OpenSCAP 1.3.0

Remote system

`
$ hostnamectl
Static hostname:
Icon name: computer-vm
Chassis: vm 🖴
Machine ID: d0676d1f9e8d423ca1524575785b4050
Boot ID: 8826e38577a54b099089da59db799805
Virtualization: kvm
Operating System: Rocky Linux 9.5 (Blue Onyx)
CPE OS Name: cpe:/o:rocky:rocky:9::baseos
Kernel: Linux 5.14.0-503.38.1.el9_5.x86_64
Architecture: x86-64
Hardware Vendor: QEMU
Hardware Model: Standard PC i440FX + PIIX, 1996
Firmware Version: rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org

`
How can I fix this issue ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions