aws-ssh-utils 0.2.2__tar.gz → 0.2.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {aws_ssh_utils-0.2.2 → aws_ssh_utils-0.2.3}/PKG-INFO +1 -1
- aws_ssh_utils-0.2.3/aws_ssh_utils/__init__.py +1 -0
- {aws_ssh_utils-0.2.2 → aws_ssh_utils-0.2.3}/aws_ssh_utils/ssh.py +5 -1
- aws_ssh_utils-0.2.2/aws_ssh_utils/__init__.py +0 -1
- {aws_ssh_utils-0.2.2 → aws_ssh_utils-0.2.3}/.gitignore +0 -0
- {aws_ssh_utils-0.2.2 → aws_ssh_utils-0.2.3}/LICENSE +0 -0
- {aws_ssh_utils-0.2.2 → aws_ssh_utils-0.2.3}/README.md +0 -0
- {aws_ssh_utils-0.2.2 → aws_ssh_utils-0.2.3}/aws_ssh_utils/emr_utils.py +0 -0
- {aws_ssh_utils-0.2.2 → aws_ssh_utils-0.2.3}/aws_ssh_utils/interactive_ssh.py +0 -0
- {aws_ssh_utils-0.2.2 → aws_ssh_utils-0.2.3}/aws_ssh_utils/py.typed +0 -0
- {aws_ssh_utils-0.2.2 → aws_ssh_utils-0.2.3}/pyproject.toml +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.2.3"
|
|
@@ -583,10 +583,14 @@ def get_opkssh_key_file(provider: str) -> str:
|
|
|
583
583
|
"-i",
|
|
584
584
|
opkssh_key_file,
|
|
585
585
|
]
|
|
586
|
-
process = subprocess.Popen(cmd, shell=
|
|
586
|
+
process = subprocess.Popen(cmd, shell=False, stdout=subprocess.PIPE, stderr=subprocess.PIPE) # noqa: S603
|
|
587
587
|
process.wait()
|
|
588
588
|
if process.returncode != 0:
|
|
589
589
|
logger.error('Failed to authenticate using opkssh')
|
|
590
|
+
if process.stdout:
|
|
591
|
+
logger.info(process.stdout.read().decode())
|
|
592
|
+
if process.stderr:
|
|
593
|
+
logger.error(process.stderr.read().decode())
|
|
590
594
|
sys.exit(process.returncode)
|
|
591
595
|
|
|
592
596
|
return opkssh_key_file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.2.2"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|