Project

General

Profile

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

# Date Author Comment
17730d9d 03/26/2011 09:33 PM Jim Pingle

Only run conf_mount_rw here if there isn't another process going.

974c5af7 03/26/2011 09:30 PM Jim Pingle

Actually if /etc/sshd is already running, doing a conf_mount_ro() would be a bad thing, as the other process still expects rw.

63e18082 03/26/2011 09:21 PM Jim Pingle

Backing this out to see if it unbreaks NanoBSD upgrades with packages involved. Revert "Workaround for conf_mount_rw/ro during boot to only allow it to change at the start and end. Fixes #1279"

This reverts commit 548be1fd6697ab115cbb29d61bc5507744488094.

548be1fd 03/22/2011 07:28 AM Erik Fonnesbeck

Workaround for conf_mount_rw/ro during boot to only allow it to change at the start and end. Fixes #1279

56bff6a3 12/01/2010 12:29 AM Erik Fonnesbeck

Make sure host private key permissions aren't too open so sshd won't complain.

7a9ed301 11/30/2010 11:55 PM Ermal LUÇI

Preseve attributes of files during copy.

56c91631 06/23/2010 06:35 PM Ermal LUÇI

Pass correct argument to killbyname and correctly check for sshdkeyonly toggle. Ticket #691

4c4b068c 06/22/2010 06:38 AM Jim Pingle

Fix ssh key existence test.

2d402f57 06/21/2010 03:13 PM Jim Pingle

Do a more thorough check for missing sshd key files. Should fix #673

e28f5b93 06/18/2010 02:47 PM Jim Pingle

Silence

39618326 12/28/2009 05:15 AM Chris Buechler

remove old function from 1_2, it just wipes out the authorized_keys file breaking SSH access with the way 2.0 handles SSH keys. writing out the keys is handled by the user manager now

7c6cef3c 11/22/2009 03:23 AM Scott Ullrich

Add shaper.inc

2257118f 07/10/2009 11:29 PM Scott Ullrich

Unbreak sshd

56c0c91f 07/02/2009 02:10 PM Ermal Luçi

Fix check for file.

06e28ceb 07/01/2009 06:08 PM Ermal Luçi

Convert even ssh key gen to the new subsystem_dirty calls.

6d87bf48 06/30/2009 02:00 AM Scott Ullrich

Use exec()

7e009f1d 06/30/2009 01:28 AM Scott Ullrich

Doh, correct copy command

d226535c 06/30/2009 01:28 AM Scott Ullrich

Add bit when restoring for diagnostics

1d3bc939 06/29/2009 08:49 PM Scott Ullrich

Correct filename check

0790b420 06/28/2009 08:17 PM Scott Ullrich

Require globals.inc and use correct directory name sshd, not ssh

8fe7e3fc 06/28/2009 08:17 PM Scott Ullrich

Require globals.inc and use correct directory name sshd, not ssh

4c2fa5b5 06/28/2009 01:33 AM Scott Ullrich

s/config/conf/

5c3ccc0d 06/27/2009 08:54 PM Scott Ullrich

Add ssh key support for nanobsd to preserve the ssh data

43640486 06/24/2009 06:16 PM Scott Ullrich

Backup SSH keys for NanoBSD

868a5b99 05/21/2009 08:41 PM Scott Ullrich

Adding Ciphers Ciphers aes128-ctr,aes256-ctr,arcfour256,arcfour,aes128-cbc,aes256-cbc for the tin foil hat wearing folks.

36fcc77f 11/20/2008 10:16 PM Scott Ullrich
  • Ensure we are rw
  • Remove seriously old dead code
5b6eac01 11/10/2008 04:17 AM Scott Ullrich

Use product_name

659fa7f2 08/03/2008 05:54 PM Matthew Grooms

Cleanup authentication code. The basic auth method, the passwd, htpasswd
and pam backing functions have been removed. The basic auth method was
legacy code and the backing functions were redundant with no added value
that I could see. A simplified replacement backing function named...

90ebd0b3 05/17/2008 08:08 PM Bill Marquette

Ticket #1697 - rm authorized key file if keys don't exist in config.xml
MFC: for 1.2.1

c6f535e2 03/24/2008 02:01 AM Scott Ullrich

Call sync_webgui_passwords() instead of manual routine

116852b8 03/24/2008 01:59 AM Scott Ullrich

Restore previous version.

16559651 03/24/2008 01:04 AM Scott Ullrich

Sync w/ HEAD

0bdbb9ea 07/06/2007 06:16 PM Scott Ullrich

Remove extra PasswordAuthentication line.

Ticket #1374

ed4b63b0 06/02/2007 09:58 PM Timo Boettcher

SSH-Key(only) Login

4e5205b1 12/05/2006 05:52 PM Scott Ullrich

MFC 15495
fix: root key files are not in /etc/ssh/root ...

579946e2 11/12/2006 06:57 PM Scott Ullrich

MFC
pclose -> fclose

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