Skip to main content

Sort ssh known_hosts file.

Project description

sorthosts

Sort ssh known_hosts file.

  • group by algorithm and hash
  • sort by IP addresses and domains

Install

pip install sorthosts

Usage

  • INPUT input file (default: ~/.ssh/known_hosts)
  • OUTPUT output file, print to screen if not defined

python3 -m sorthosts [-i INPUT] [-o OUTPUT]

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

sorthosts-0.1.2.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sorthosts-0.1.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file sorthosts-0.1.2.tar.gz.

File metadata

  • Download URL: sorthosts-0.1.2.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for sorthosts-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d8015c361a19ca7509f97571bc4298714ec437f71d6f8f574acaa2fe6b2b2834
MD5 d794d494c40a020f68a8d7447159fd09
BLAKE2b-256 b6a5ea577e949814f5ce92180e048ed9728576b8ecf04c57f7233b25e45697d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for sorthosts-0.1.2.tar.gz:

Publisher: publish.yaml on darkclip/sorthosts

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sorthosts-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: sorthosts-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for sorthosts-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f75f0470226e309dd8522986f50267515d29e868d29ebd593d09b60d1df72900
MD5 7e9c90d1788ca4811623bf790ecef935
BLAKE2b-256 a761bca709452b1b8c454f3016ee7c462ea50c509f33dcd3b55462db254245bb

See more details on using hashes here.

Provenance

The following attestation bundles were made for sorthosts-0.1.2-py3-none-any.whl:

Publisher: publish.yaml on darkclip/sorthosts

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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