Skip to content

bolt native ssh not working windows #3405

@phr34k

Description

@phr34k

Describe the Bug

Using native ssh because of certicates and aliasses, bolt cannot run because of blocking socket operations.

PS D:\Workspaces\Europool\bolt> bolt task run bolt::hello --targets  linux --params '{"name":"Lawrence"}' --verbose
Started on support@xxx...
Failed on support@xxx:
  A non-blocking socket operation could not be completed immediately. - read would block
Failed on 1 target: support@xxx
Ran on 1 target in 36.11 sec

Expected Behavior

Bolt connecting over the native ssh stdin/stdout.

Steps to Reproduce

inventory.yaml

groups:
   - name: linux
     targets:
       - support@xxxx
     config:
       transport: ssh
       ssh:
         native-ssh: true

Environment

  • Latest version
  • Windows

Additional Context

I use ssh config for aliasses and match exec clauses to generate certificates, ssh in bolt doesn't support exec so only native ssh is an option for me at the moment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugBug reports and fixes.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions