forked from JuliaLang/julia
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add SSHManager support for invoking Windows workers via cmd.exe (Juli…
…aLang#38353) Distributed.addprocs() now supports four new keyword arguments `shell`, `ssh`, `env` and `cmdline_cookie`. Specifying `shell=:wincmd` now makes it possible to start workers on a Windows machine with an sshd server that invokes `cmd.exe` as the shell (e.g. Microsoft's OpenSSH port does that by default). Previously SSHManager only supported ssh connections to a POSIX shell. Specifying `ssh="/usr/bin/ssh"` makes it possible to specify the ssh client that SSHManager will use (useful for debugging and where a custom-version of ssh is required). The new `env` parameter now allows to pass arbitrary environment variables to workers. Specifying `cmdline_cookie=true` is a workaround for an ssh problem with Windows workers that run older (pre-ConPTY) version of Windows, Julia, or OpenSSH.
- Loading branch information
Showing
4 changed files
with
87 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters