Skip to content

gitfx/ssh-keygen-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

SSH keygen Action

The action runs ssh-keygen to generate a key pair stored in private_key.txt and public_key.txt, with rsa encryption and 4096 bits by default. You can specify your inputs.

Or just use the template to run a workflow_dispatch action to generate a specified one.

inputs

  comment:
    description: 'A comment to help you to identify the key, e.g. your email etc.'
    required: false
  encryption:
    # dsa | ecdsa | ed25519 | rsa
    description: 'Encryption type'
    required: true
    default: 'rsa'
  bits:
    description: 'Bits'
    required: true
    default: '4096'