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
# SSH from Windows 10 using Python subprocess + built-in OpenSSH | |
# | |
# Alternatives to using subprocess include: | |
# Fabric: http://www.fabfile.org/ | |
# Paramiko: http://www.paramiko.org/ | |
# | |
# References: | |
# OpenSSH in Windows 10: https://blogs.msdn.microsoft.com/commandline/2018/01/22/openssh-in-windows-10/ | |
# The only simple way to do SSH in Python today is to use subprocess + OpenSSH...: https://gist.github.com/bortzmeyer/1284249 | |
# Issue8557 - subprocess PATH semantics and portability: https://bugs.python.org/issue8557 |