Skip to main content

This package will help to generate SSH PEM File for access server

Project description

PEM File Generator

Basically this library will help user to generate SSH PEM file for access remote server and disable password login to remote server. But If user want to keep password login option enable.It can be also available

Example

"""
Generate SSH PEM File Example
"""
from PEMFileGenerator.ssh_pem import Generate

# Password login disable
gen = Generate(ip="192.168.56.15", user="vagrant", password="vagrant")
try:
    gen.run()
except Exception as err:
    print(err)

# Password login enable
gen1 = Generate(ip="192.168.56.15", user="vagrant", password="vagrant", password_auth_disable=False)
try:
    gen1.run()
except Exception as err:
    print(err)

To learn more Documentation.

Changelog

See Changelog

License

MIT

Changelog

All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog. This project adheres to Semantic Versioning.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PEMFileGenerator-0.0.2.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

PEMFileGenerator-0.0.2-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file PEMFileGenerator-0.0.2.tar.gz.

File metadata

  • Download URL: PEMFileGenerator-0.0.2.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for PEMFileGenerator-0.0.2.tar.gz
Algorithm Hash digest
SHA256 fc0689b59153c7f8dea802398bbaa9b021375bfd8521b3dabdbabae80c691a2b
MD5 989fb955799642f2cd8a77164a90782a
BLAKE2b-256 24fdb751ee572eda9ff50178b029c6b8183242b3d7e9d0c580cba35a1a0cc280

See more details on using hashes here.

File details

Details for the file PEMFileGenerator-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: PEMFileGenerator-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for PEMFileGenerator-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 713411a433a4b45b51c0bc9e4d13207fd48a8aa53f5867ce005f73e61204018e
MD5 e59520763c2e400ec34997d564ebd36e
BLAKE2b-256 e9e3b4e0d75b10eaff55e6cfc5b1a5c422111e4dd04a1b7a1137b581e59c6998

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page