blob: b82a79ce5e2ea84ef8ed019f83c257aa69d77c4f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
with import ../../.. { };
runCommand "gen-keys"
{
buildInputs = [ openssh ];
}
''
mkdir $out
ssh-keygen -q -t ed25519 -N "" -f $out/ssh_host_ed25519_key
ssh-keygen -q -t ed25519 -N "" -f $out/id_ed25519
''
|