https://github.com/yanicksenn/ssh-keygen-seeded
Small tool to generate seeded ssh keypairs.
https://github.com/yanicksenn/ssh-keygen-seeded
cryptography java rsa ssh
Last synced: 10 months ago
JSON representation
Small tool to generate seeded ssh keypairs.
- Host: GitHub
- URL: https://github.com/yanicksenn/ssh-keygen-seeded
- Owner: yanicksenn
- License: mit
- Created: 2022-10-08T08:54:45.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-29T11:01:17.000Z (over 3 years ago)
- Last Synced: 2025-02-27T16:26:18.775Z (over 1 year ago)
- Topics: cryptography, java, rsa, ssh
- Language: Java
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## What does it do?
This tool can generate seeded ssh keypairs. This is practical for personal ssh-keypairs as they dont have to be transmitted through the internet when a new machine is set up.
## Build requirements
- Maven
- GraalVM 22.2 / JDK 17
## Build the tool
```bash
mvn clean install -P native
```
## Using the tool
```bash
# Generating RSA key pair at the current working directory
ssh-keygen-seeded --seed=MY_SEED --passphrase=MY_PASSPHRASE
```
```bash
# Generating RSA key pair with custom key-size (default is 4096)
ssh-keygen-seeded --seed=MY_SEED --passphrase=MY_PASSPHRASE --key-size=2048
ssh-keygen-seeded --seed=MY_SEED --passphrase=MY_PASSPHRASE --key-size=1024
```
```bash
# Generating additional output of the tool
ssh-keygen-seeded --seed=MY_SEED --passphrase=MY_PASSPHRASE -v
ssh-keygen-seeded --seed=MY_SEED --passphrase=MY_PASSPHRASE --verbose
```
```bash
# Print help
ssh-keygen-seeded -h
ssh-keygen-seeded --help
```
## Supported algorithms
- RSA
## Disclaimer
This tool does not really follow any security standards and should probably
not be used in a productive environment. Use at your own risk.