3 # Check for the SSH1 RSA key
4 if [ ! -f /etc
/ssh_host_key
] ; then
5 echo Generating RSA Key...
6 /usr
/bin
/ssh-keygen
-t rsa1
-f /etc
/ssh_host_key
-C '' -N ''
9 # Check for the SSH2 RSA key
10 if [ ! -f /etc
/ssh_host_rsa_key
] ; then
11 echo Generating RSA Key...
12 /usr
/bin
/ssh-keygen
-t rsa
-f /etc
/ssh_host_rsa_key
-C '' -N ''
15 # Check for the SSH2 DSA key
16 if [ ! -f /etc
/ssh_host_dsa_key
] ; then
17 echo "Generating DSA Key... (Takes a few minutes)"
18 /usr
/bin
/ssh-keygen
-t dsa
-f /etc
/ssh_host_dsa_key
-C '' -N ''
This page took 0.044425 seconds and 5 git commands to generate.