mirror of
https://review.haiku-os.org/buildtools
synced 2025-01-19 12:51:22 +01:00
efa13a3a74
the post install script. git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@25312 a95241bf-73f2-0310-859d-f6bbb57e9c96
18 lines
402 B
Bash
Executable File
18 lines
402 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# generate SSH host keys
|
|
|
|
hostKeyDir=/boot/home/config/etc
|
|
|
|
if [ ! -f "$hostKeyDir/ssh_host_key" ] ; then
|
|
ssh-keygen -t rsa1 -f "$hostKeyDir/ssh_host_key" -N ""
|
|
fi
|
|
|
|
if [ ! -f "$hostKeyDir/ssh_host_dsa_key" ] ; then
|
|
ssh-keygen -t dsa -f "$hostKeyDir/ssh_host_dsa_key" -N ""
|
|
fi
|
|
|
|
if [ ! -f "$hostKeyDir/ssh_host_rsa_key" ] ; then
|
|
ssh-keygen -t rsa -f "$hostKeyDir/ssh_host_rsa_key" -N ""
|
|
fi
|