Skip to content

Connecting to windows remote machine with parallelly::makeClusterPSOCK hangs #96

@Tadge-Analytics

Description

@Tadge-Analytics

When I run the following code...
It hangs and doesn't end up connecting.

This is me connecting to another Windows 11 machine.
I have been able to SSH into it.

Any tips?

Here is a video of me troubleshooting with dryrun = TRUE
https://youtu.be/857DRD-k-DA

ip <- "10.0.44.224"

# Path to private SSH key that matches key uploaded to DigitalOcean
ssh_private_key_file <- "/Users/Julian/.ssh/id_rsa"

# Connect and create a cluster
cl <- 
  parallelly::makeClusterPSOCK(
    ip,
    user = "Julian",
    rshopts = c(
      # "-o", "StrictHostKeyChecking=no",
      # "-o", "IdentitiesOnly=yes",
      "-i", ssh_private_key_file
    ),
    master = "10.0.44.234",
    homogeneous = TRUE,

        dryrun = TRUE
    # dryrun = FALSE
    
  )

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions