Project

General

Profile

Download (8.47 KB) Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
f8196f12 08/17/2006 03:16 AM Scott Ullrich

Allow JavaSSH package to work correctly.

ok: billm

c8599926 03/12/2006 11:54 PM Scott Ullrich

Note in alert that changes to the webgui and such will not be processed until sshd has finished creating its keys. This may be a long process on 133 megahertz boxes.

772ece2e 12/29/2005 11:58 PM Scott Ullrich

File a alert when we start creating keys

16df91e0 11/20/2005 05:50 AM Scott Ullrich

file_notice() requires notices.inc

63d671d9 11/20/2005 05:06 AM Scott Ullrich

File a notice when we are done creating ssh keys

5b7eb87c 10/13/2005 08:43 PM Seth Mos

Reworked sshd script, restarts sshd if we have one and allows running of
ssh on alternate port.

f6661aed 10/13/2005 01:08 AM Scott Ullrich
  • Done -> done (for bootup consistency)
  • Error -> error
823b7b0f 10/11/2005 09:40 PM Scott Ullrich

Silence read-only error

b15e2ed4 09/23/2005 05:06 AM Scott Ullrich

Exit when ssh is disabled

dcb64768 09/22/2005 08:14 PM Scott Ullrich

Do not allow sshd script to run multiple times concurrently.

2d195c3f 09/22/2005 07:19 PM Scott Ullrich

Use mwexec

cc6e38fe 09/22/2005 06:53 PM Scott Ullrich

Do not hijack stderr

fdfc687c 09/19/2005 01:17 AM Scott Ullrich

File an alert when SSHD didn't start correctly

017cd1ad 09/19/2005 01:16 AM Scott Ullrich

Note when sshd startup failure

0f953a29 09/19/2005 01:16 AM Scott Ullrich
  • Create a /etc/keys_generating file incase a reboot occurs we know to start over.
  • Cleanup some starting text
  • Add a blurb when we're generating keys to make startup text prettier
e1338375 09/19/2005 01:00 AM Scott Ullrich

Create SSH keys with a nice of 20

7822d966 08/03/2005 07:15 AM Colin Smith

return_filename_as_string -> file_get_contents

09982081 08/03/2005 12:07 AM Scott Ullrich

newline before running keygen

668b7b2e 08/01/2005 11:12 PM Scott Ullrich

Correctly start SSHD

59d09874 08/01/2005 11:06 PM Scott Ullrich

Use enablesshd tag

e4662fc5 07/31/2005 01:29 AM Scott Ullrich

Enable SSHD on upgrade

36aaefff 07/31/2005 01:15 AM Scott Ullrich

Allow SSH service to be disabled / enabled.

426f300c 07/24/2005 09:38 PM Scott Ullrich

Check for key existance before clearing out

0ae71d81 07/24/2005 09:38 PM Scott Ullrich

Mount config rw before generating keys

02facbd0 07/24/2005 09:21 PM Scott Ullrich

Do not mount configuration ro after writing configuration with write_config() if we're booting

0a1e1960 07/24/2005 08:51 PM Scott Ullrich

Make sure config is mounted rw

3ea05002 07/24/2005 08:34 PM Scott Ullrich

Do not perform mount operations

c5a9b876 07/17/2005 08:16 PM Scott Ullrich

Use correct path. DOH!

7e6d816a 07/17/2005 08:16 PM Scott Ullrich

Use correct path. DOH!

c3290534 07/17/2005 08:10 PM Scott Ullrich

Do not check on config.xml items right now.

5858cbdb 07/17/2005 08:00 PM Scott Ullrich

Do not stat a file if it doesn't exist

03b42caa 07/17/2005 07:45 PM Scott Ullrich

Make sure ak key is cleared

746b5ee2 07/17/2005 07:43 PM Scott Ullrich

If any of the /etc/ssh/ files are corrupted then remove them so they will be forced to regenerate.

850b71ec 07/17/2005 07:30 PM Scott Ullrich

Make sure config.xml doesn't hold ssh keys for now

21b20aae 07/10/2005 08:10 PM Scott Ullrich

Disable ssh key saving for now.

6b21d1ed 07/10/2005 08:09 PM Scott Ullrich

Disable ssh key saving for now.

0afcd529 07/09/2005 09:55 PM Scott Ullrich

Operating on argv0 and [1]

40240d9b 07/09/2005 07:39 PM Scott Ullrich

exit after stop sync

0a4869c5 07/09/2005 07:38 PM Scott Ullrich

Sync /root/.authorized_keys on boot

3b18f175 07/09/2005 07:35 PM Scott Ullrich

On shutdown call /etc/sshd and alert we're stopping so it can compare /root/.authorized_keys with the config.xml version

3e3fe496 07/09/2005 07:09 PM Scott Ullrich

Use system("/usr/sbin/sshd"); for platform compatibility

045c573b 07/09/2005 06:18 PM Scott Ullrich

Saving and restoring is fixed. Reenable.

abafa16b 07/09/2005 06:13 PM Scott Ullrich

Turn off SSH key saving and restoring until bugs are fixed.

5fa404d4 07/09/2005 05:50 PM Scott Ullrich

Don't forget to write out ssh keys to config.xml

c2338828 07/09/2005 05:43 PM Scott Ullrich

If keys exist and they are not stored in config.xml, remove the keys and regen and then store them in config.xml

61fb3da0 07/08/2005 11:29 PM Scott Ullrich

use /etc/rc.d/sshd start

efa761f6 07/08/2005 11:24 PM Scott Ullrich

base64 encode the values when saving and restoring

9e3fc88e 07/08/2005 09:16 PM Scott Ullrich
  • Store SSH keys in config.xml.
  • Restore on bootup
697a8991 03/31/2005 04:47 AM Scott Ullrich

Eliminate whitespace.

b2981d7a 03/12/2005 09:06 PM Scott Ullrich

No need for duplicate starting ssh messages

128f6a3e 03/12/2005 03:03 AM Bill Marquette

Let user SSH in as admin instead of root only (requested for consistency)
Full path to sshd

5b237745 11/07/2004 03:06 AM Scott Ullrich

Initial revision