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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: PEMFileGenerator-0.0.3.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for PEMFileGenerator-0.0.3.tar.gz
Algorithm Hash digest
SHA256 6edd6d4486ecc1eac9e6e73ad5a8b6c6e7a33e3aae5fd4ed211b00cfb3a920e4
MD5 4cef5c2b8db8c18017a157cfef5fc548
BLAKE2b-256 dbd76aa8e07f407c0ac43ffd0c6396a8a8268fdb8f5e339be84d4803686e97c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for PEMFileGenerator-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3e46c22a2dfa95f437dd43fd12f8a1a477fae7146d0a84ff226e5b62861ee571
MD5 5728b3cd539d5a677df38688032bc788
BLAKE2b-256 0b144c39f4b5a1ff71f58980f8ccf432e48775b3ea06d345a69901ca9c4e7235

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