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.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: PEMFileGenerator-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 7807c529471508cfa17a2adb83d8731c6048e472b582661edb2173f03cba458e
MD5 ade54a1116299b04f8b30a1bc989e5b5
BLAKE2b-256 5d747e6934a08be3e875f094b017b373ffb2c6fbd68ff6b617f35706459350a4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PEMFileGenerator-0.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e274ecce39d713992c3296546e20351fa4cdc64553b403ab3cfb5daabf7b710f
MD5 1d61f34f75e3a971225ff38e99df3a5a
BLAKE2b-256 7004e5f4cdf08dab995eaabb7670b8f3fdc9a3c782ed242182d404537243f181

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