Changeset e5e4cd4 in bootscripts-standard for cblfs/init.d/sshd
- Timestamp:
- Jun 13, 2009, 5:32:11 PM (15 years ago)
- Branches:
- master
- Children:
- c712058
- Parents:
- a483775
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cblfs/init.d/sshd
ra483775 re5e4cd4 15 15 case "$1" in 16 16 start) 17 if [ ! -f /etc/ssh/ssh_host_key ]; then 18 boot_mesg "Generating /etc/ssh/ssh_host_key" 19 ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key -N "" 20 evaluate_retval 21 fi 22 if [ ! -f /etc/ssh/ssh_host_dsa_key ]; then 23 boot_mesg "Generating /etc/ssh/ssh_host_dsa_key" 24 ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N "" 25 evaluate_retval 26 fi 27 if [ ! -f /etc/ssh/ssh_host_rsa_key ]; then 28 boot_mesg "Generating /etc/ssh/ssh_host_rsa_key" 29 ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N "" 30 evaluate_retval 31 fi 32 17 33 boot_mesg "Starting SSH Server..." 18 34 # Also prevent ssh from being killed by out of memory conditions
Note:
See TracChangeset
for help on using the changeset viewer.