Code Monkey home page Code Monkey logo

sshkeys's Introduction

sshkeys

Actions Status Coverage Status PkgGoDev go-report

Get all ssh public keys of an ssh server.

Installation

Docker

$ docker run --rm -ti ghcr.io/eun/sshkeys:latest -algorithm=sha256 -encoding=base64 github.com

Prebuild

Download in the Releases section.

go

$ go install github.com/Eun/sshkeys/cmd/sshkeys

Usage

Usage: sshkeys [options] <host>
Options:
    -a authorized_keys
    -algorithm=authorized_keys
       Algorithm to hash the public keys, valid algorithms are: sha1, sha256, md5, authorized_keys

    -e=
    -encoding=
       Encoding to encode the hashed keys, valid encodings are: hex, base32, base64 (only used for algorithms sha1, sha256 and md5)

    -o=console
    -output=console
       Output format, valid formats are: console, json

    -c=4
    -concurrent=4
       Concurrent workers

    -t=60s
    -timeout=60s
       Connection timeout

Examples

$ sshkeys example.com
$ sshkeys -algorithm=sha256 -encoding=base64 -output=json github.com:22

Build History

Build history

sshkeys's People

Contributors

benjaminbear avatar dependabot[bot] avatar eun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

benjaminbear

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.