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

  • -i input file (default: ~/.ssh/known_hosts)
  • -o 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.0.tar.gz (3.5 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.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sorthosts-0.1.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.12

File hashes

Hashes for sorthosts-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a9dbde1b5e865a692ebaa3d292b4b702c69b5e6a9cd2e6079e80e43d2617f9b5
MD5 570a287d54c5f6d25179af4976a6951f
BLAKE2b-256 5b5a8e0adebfe8c6aa2429e41d59663ae12ffe7adda4bf19d3b63d0be3586c05

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sorthosts-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.12

File hashes

Hashes for sorthosts-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 69f14a8671d177feb424b3d163a3c73826010284406802cd04c8d10494fab33d
MD5 5fd5434e4f8a40b47b5d301e99edee89
BLAKE2b-256 d568ea508de96727d65457c69d2299c6885025513c52187a236c49c9558353d1

See more details on using hashes here.

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