summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/sshd
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade to OpenSSH 6.5p1.des2014-01-311-1/+3
|
* Reduce priority of host key exists message in sshd startupdelphij2013-10-071-1/+1
| | | | | | script to info. Approved by: re (gjb)
* Ditch the random seeding code, which never really worked as intended.des2013-09-211-66/+39
| | | | | | | | Add config variables to enable / disable individual host key algorithms. Clean up the host key generation code. Approved by: re (gjb) MFC after: 3 weeks
* Call sshd_precmd instead of sshd_configtest when the operatordelphij2013-06-211-2/+2
| | | | | | | | | | requests reload or restart, which, in addition of testing the configuration, will also generate host keys when they are not present (previous behavior). Obtained from: FreeNAS Ok'ed by: bdrewery, des MFC after: 1 week
* Also call configtest before reload to ensure working config.bdrewery2013-04-161-0/+1
| | | | | | Approved by: jhb MFC after: 1 week X-MFC-With: r249489
* Run configtest before restarting so that the system is notbdrewery2013-04-141-0/+1
| | | | | | | left without a running sshd. Approved by: des MFC after: 1 week
* Simply things so that "#REQUIRE: FILESYSTEMS" means the fileobrien2012-09-111-1/+1
| | | | | | | | | | | systems are fully "ready to go". 'FILESYSTEMS' states: "This is a dummy dependency, for services which require file systems to be mounted before starting." However, we have 'var' which is was run after 'FILESYSTEMS' and can mount /var if it already isn't mounted. Furthermore, several scripts cannot use /var until 'cleanvar' has done its thing. Thus "FILESYSTEMS" hasn't really meant all critical file systems are fully usable.
* Add a configtest command.des2012-09-041-1/+9
| | | | | Submitted by: gjb@ MFC after: 1 week
* Prepare for the removal of set_rcvar() by changing the rcvar=dougb2012-01-141-1/+1
| | | | | | | | | | | | | | | assignments to the literal values it would have returned. The concept of set_rcvar() was nice in theory, but the forks it creates are a drag on the startup process, which is especially noticeable on slower systems, such as embedded ones. During the discussion on freebsd-rc@ a preference was expressed for using ${name}_enable instead of the literal values. However the code portability concept doesn't really apply since there are so many other places where the literal name has to be searched for and replaced. Also, using the literal value is also a tiny bit faster than dereferencing the variables, and every little bit helps.
* Upgrade to OpenSSH 5.8p2.des2011-05-041-1/+10
|
* Add the shutdown KEYWORD to those scripts that start persistent servicesdougb2008-07-161-0/+1
| | | | | | | | | | | to allow them to do a "clean" shutdown. I purposely avoided making changes to network-related stuff since the system shutting down is pretty conclusive, and there may be complicated dependencies on the network that I would rather not try to unravel. I also skipped kerberos-related stuff for the reasons above, and because I have no way to test it.
* Remove $NetBSD$ CVS tags. We no longer attempt to synch our rc.d filesdougb2007-12-081-1/+0
| | | | | with theirs, so this information doesn't need to be in the live file. Having it in our CVS history is enough.
* Backout this commit since it breaks startup and some scripts inflz2006-08-221-17/+16
| | | | | | | | | | | | | | | | | certain conditions. I haven't been able to find a better solution yet: - Set a two read-only variables (${prefix} and ${etcdir}). This is especially useful when using /etc/rc.d scripts with third-party software installed from ports. - Fix rc.d/sshd to work with openssh from ports using ${etcdir} instead of hardcoded /etc. - Reflect prefix/etcdir changes in rc.subr.8. src/etc/rc.d/sshd: rev 1.9 -> 1.10 src/etc/rc.subr: rev 1.51 -> 1.52 src/share/man/man8/rc.subr.8: rev 1.11 -> 1.12 Approved by: cperciva (mentor)
* - Fix rc.d/sshd test on kern.random.sys.seeded.flz2006-04-111-1/+1
| | | | | | | PR: conf/94377 Submitted by: dwhite Approved by: cperciva (mentor) MFC after: 1 week
* - Set a two read-only variables (${prefix} and ${etcdir}). This isflz2006-04-111-16/+17
| | | | | | | | | | | especially useful when using /etc/rc.d scripts with third-party software installed from ports. - Fix rc.d/sshd to work with openssh from ports using ${etcdir} instead of hardcoded /etc. Reviewed by: brooks Approved by: cperciva (mentor) MFC after: 1 week
* Don't be lazy, set the "command" variable even ifyar2005-10-231-0/+1
| | | | | | | | | | /etc/defaults/rc.conf will provide foo_program, too. By specifying "command" we explicitly say that we're going to rely on rc.subr(8) default methods, and rc.subr(8) will take advantage of this soon. The majority of our rc.d scripts already set "command" if appropriate, so fix just the non-compliant handful.
* "REQUIRE: cleanvar" for all RC's writing into /var/run.obrien2005-01-161-1/+1
|
* Remove the requirement for the FreeBSD keyword as it no longermtm2004-10-071-1/+0
| | | | | | | makes any sense. Discussed with: dougb, brooks MFC after: 3 days
* Give sshd a secure startup, but with a tweakable timeout so thatmarkm2004-08-041-0/+25
| | | | the box won't hang forever at startup.
* Luke Mewburn has indicated that they (NetBSD) are not interestedmtm2004-01-171-6/+0
| | | | | | | | | in keeping the scripts under rc.d in sync with us. So, remove NetBSD specific stuff (which made our scripts more complicated than necessary). The NetBSD ident string will be left intact, both for history and also incase we wish to pull in future versions.
* Luke Mewburn has indicated that they (NetBSD) are not interestedmtm2004-01-171-1/+1
| | | | | | in keeping the scripts under rc.d in sync with us. So, begin removal of NetBSD specific stuff (which made our scripts more complicated than necessary), starting with the NetBSD KEYWORD.
* Not everyone uses the base system sshd. They can use the sshd_programmtm2003-07-131-2/+6
| | | | | | | | variable in rc.conf to have sshd from ports (or somewhere else) installed. So, don't make the sshd_config for the base system a required file to start the service. PR: conf/45766
* Merge in all the changes that Mike Makonnen has been maintaining for agordon2002-06-131-18/+40
| | | | | | | | while. This is only the script pieces, the glue for the build comes next. Submitted by: Mike Makonnen <makonnen@pacbell.net> Reviewed by: silence on -current and -hackers Prodded by: rwatson
* Import the NetBSD 1.5 RC system.obrien2001-06-161-0/+48
Note that `rc' and `rc.shutdown' could not be imported because we already have files with those names.
OpenPOWER on IntegriCloud