Skip to content

Commit 8582a88

Browse files
introduce method for executing SSH commands
Signed-off-by: Olamide Ojo <[email protected]>
1 parent 70c6b51 commit 8582a88

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ All notable changes to the Zowe Client Python SDK will be documented in this fil
44

55
## Recent Changes
66

7-
- Added execute_command method to issue SSH commands. [#253](https://github.com/zowe/zowe-client-python-sdk/issues/253)
7+
- Added `execute_command` method to issue SSH commands. [#253](https://github.com/zowe/zowe-client-python-sdk/issues/253)
88

99
## `1.0.0-dev22`
1010

docs/source/packages/files.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,24 @@ Reference
1919

2020
../classes/zos_files/index
2121

22-
Interacting with USS via z/OSMF
22+
Interacting with z/OS Unix via z/OSMF
2323
===============================
2424

2525
The Zowe Client Python SDK leverages the z/OS Management Facility (z/OSMF) REST interface to interact with Unix System Services (USS) on z/OS.
2626
Rather than connecting directly to USS, the Python SDK/the SDK uses z/OSMF as a standardized conduit for file operations and other USS functionalities.
2727
This design offers several benefits:
2828

2929
- **Standardization:** z/OSMF provides a consistent REST API for interacting with various z/OS components, including USS.
30-
- **Security and maintainability:** By utilizing z/OSMF, Use z/OSMF to benefit from its built-in authentication, logging, and error-handling mechanisms, making integration more robust.
30+
- **Security and maintainability:** By utilizing z/OSMF, the Python SDK benefits from its built-in authentication, logging, and error-handling mechanisms, making integration more secure and manageable.
3131
- **Simplified integration:** The REST-based approach reduces the complexity of direct USS interactions, allowing for easier maintenance and future enhancements.
3232

3333
In summary, it might appear that all USS functionality is routed through z/OSMF, this approach is intentional, providing a secure and manageable interface to z/OS USS.
3434

3535
Paramiko and Encoding Considerations
3636
======================================
3737

38-
When using Paramiko to interact with z/OS UNIX System Services (USS), it is important to consider encoding and the handling of special characters.
39-
By default, Paramiko decodes responses using UTF-8, but z/OS USS may return data in an EBCDIC codepage (e.g., IBM-1047, IBM-037, etc.).
38+
When using Paramiko to interact with z/OS Unix, it is important to consider encoding and the handling of special characters.
39+
By default, Paramiko decodes responses using UTF-8, but z/OS Unix may return data in an EBCDIC codepage (e.g., IBM-1047, IBM-037, etc.).
4040
This mismatch can result in unexpected output, particularly with special characters like ``ööö``, ``👍``, or ``🔟``.
4141

4242
If you experience unexpected characters in your output, please check your terminal's encoding settings (for example, using ``locale`` on Linux).

src/zos_uss/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
name="zowe_zos_uss_for_zowe_sdk",
2323
version=__version__,
2424
description="Zowe Python SDK - z/OS UNIX System Services (USS) package",
25-
long_description=open("README.md", "r").read(),
25+
long_description=open("README.md", "r", encoding="utf-8").read(),
2626
long_description_content_type="text/markdown",
2727
url="https://github.com/zowe/zowe-client-python-sdk",
2828
author="Zowe",

0 commit comments

Comments
 (0)