aboutsummaryrefslogtreecommitdiff
path: root/priv/make_keys.sh
blob: 8d8a8728b6ece053c59983ddc3bacfdac0754f1f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

if [ ! -d  "keys" ]
then
  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
fi