1. ちくちく(・∀・)ごんざれす
  2. makey

Overview

HTTPS SSH

Make OpenSSH Key Command

Create OpenSSH Key pair without OpenSSH ssh-keygen command.

Installation

$ go get bitbucket.org/chiku2gonzalez/makey

Pre-compiled binaries are not provided yet.

Usage

Usage of makey:
  -bits int
        Key Bits (default 2048)
  -comment string
        Comment
  -fingerprint
        Print fingerprint with specified algorithm. (default sha256)
  -output string
        Output filename
  -secret string
        Secret phrase

Examples

$ makey
    # ==> Generate RSA key pair id_rsa / id_rsa.pub

$ makey -bits 4096
    # ==> Generate 4,096 bits RSA key pair into id_rsa / id_rsa.pub

$ makey -output github
    # ==> Generate 2,048 bits RSA key pair into github / github.pub

$ makey -secret hello -output bitbucket
    #==> Generate password-protected key pair into bitbucket / bitbucket.pub

$ makey -fingerprint
$ makey -fingerprint=sha256
    #==> Output SHA256 fingerprint after key generation.

$ makey -fingerprint=md5
    #==> Output MD5 fingerprint after key generation.

Limitations

  • Supported only RSA key.
  • Randomart image does not show, too.

Author

TANAKA Kenichi aka chikuchikugonzalez (ちくちく('ω')ごんざれす)

LICENSE

MIT License

References