perl-5.22
Last change
on this file since 1a19ecd was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100755
|
File size:
498 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | #stop old deamon, since now runs from deamontools: |
---|
3 | /etc/rc.d/rc.sshd stop &>/dev/null |
---|
4 | rm /etc/rc.d/rc.sshd 2>/dev/null |
---|
5 | |
---|
6 | # Create host keys if needed. |
---|
7 | if [ ! -r /etc/ssh/ssh_host_key ]; then |
---|
8 | /usr/bin/ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key -N '' |
---|
9 | fi |
---|
10 | |
---|
11 | if [ ! -f /etc/ssh/ssh_host_dsa_key ]; then |
---|
12 | /usr/bin/ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N '' |
---|
13 | fi |
---|
14 | |
---|
15 | if [ ! -f /etc/ssh/ssh_host_rsa_key ]; then |
---|
16 | /usr/bin/ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N '' |
---|
17 | fi |
---|
18 | |
---|
Note: See
TracBrowser
for help on using the repository browser.