diff options
| author | Simponic <loganhunt@simponic.xyz> | 2022-12-21 14:05:10 -0700 |
|---|---|---|
| committer | Simponic <loganhunt@simponic.xyz> | 2022-12-21 14:05:10 -0700 |
| commit | b18899ffaffad71a2b2f8783d97bcab876ab22a1 (patch) | |
| tree | 0525fb840fc1e066c06c8775ab57535ea9f5ba9e /priv | |
| parent | 90c62c2fe0f903c7a9b0eb3d8d35f0b801de5299 (diff) | |
| download | chessh-b18899ffaffad71a2b2f8783d97bcab876ab22a1.tar.gz chessh-b18899ffaffad71a2b2f8783d97bcab876ab22a1.zip | |
Add make_keys script
Diffstat (limited to 'priv')
| -rwxr-xr-x | priv/make_keys.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/priv/make_keys.sh b/priv/make_keys.sh new file mode 100755 index 0000000..bd65aec --- /dev/null +++ b/priv/make_keys.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +mkdir keys +chmod 700 keys +cd keys + +ssh-keygen -N "" -b 256 -t ecdsa -f ssh_host_ecdsa_key +ssh-keygen -N "" -b 1024 -t dsa -f ssh_host_dsa_key +ssh-keygen -N "" -b 2048 -t rsa -f ssh_host_rsa_key
\ No newline at end of file |
