CVS log for src/etc/rc.d/sshd
Up to [cvs.NetBSD.org] / src / etc / rc.d
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.37: download - view: text, markup, annotated - select for diffs
Sat Jul 22 08:51:28 2023 UTC (21 months ago) by kim
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -2
lines
Remove backwards compat.
Revision 1.29.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 16:06:14 2023 UTC (22 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +18 -7
lines
Pull up following revision(s) (requested by kim in ticket #1643):
etc/rc.d/sshd: revision 1.30
etc/rc.d/sshd: revision 1.33
etc/rc.d/sshd: revision 1.34
etc/rc.d/sshd: revision 1.35
simplify more (from rudolf)
/etc/rc.d/sshd: New check cmd and reload precmd.
- check cmd: run `sshd -t' to check sshd_config file
- reload precmd: run check cmd before reloading so we don't nuke sshd
if there's an error in the sshd_config file
(It is still possible to effectively nuke sshd by changing the
configuration tosomething that won't work on your network, but at
least we avoid making sshd just exit on reload when you make a typo
in a config option.)
/etc/rc.d/sshd: Stop generating DSA host keys by default.
If you want them you can generate them yourself, but in this day and
age (Monday and 2023, specifically) there's no reason to be using DSA
except for compatibility with ancient legacy software.
/etc/rc.d/sshd: Use default curve for ECDSA keygen, not NIST P-521.
The default is NIST P-256, which:
(a) has plenty of cryptanalytic security,
(b) performs better on essentially all platforms (smaller enough that
even the advantage of the Mersenne prime structure of P-521 can't
compete), and
(c) likely gets more scrutiny on implementations than P-521 since it's
more widespread.
Revision 1.32.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:16:17 2023 UTC (22 months ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +19 -8
lines
Pull up following revision(s) (requested by kim in ticket #196):
etc/rc.d/sshd: revision 1.33
etc/rc.d/sshd: revision 1.34
etc/rc.d/sshd: revision 1.35
etc/rc.d/sshd: revision 1.36
/etc/rc.d/sshd: New check cmd and reload precmd.
- check cmd: run `sshd -t' to check sshd_config file
- reload precmd: run check cmd before reloading so we don't nuke sshd
if there's an error in the sshd_config file
(It is still possible to effectively nuke sshd by changing the
configuration tosomething that won't work on your network, but at
least we avoid making sshd just exit on reload when you make a typo
in a config option.)
/etc/rc.d/sshd: Stop generating DSA host keys by default.
If you want them you can generate them yourself, but in this day and
age (Monday and 2023, specifically) there's no reason to be using DSA
except for compatibility with ancient legacy software.
/etc/rc.d/sshd: Use default curve for ECDSA keygen, not NIST P-521.
The default is NIST P-256, which:
(a) has plenty of cryptanalytic security,
(b) performs better on essentially all platforms (smaller enough that
even the advantage of the Mersenne prime structure of P-521 can't
compete), and
(c) likely gets more scrutiny on implementations than P-521 since it's
more widespread.
Add some backwards compat. Adjust grammar.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Jun 10 04:02:39 2023 UTC (22 months, 2 weeks ago) by kim
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +5 -5
lines
Add some backwards compat. Adjust grammar.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon Jun 5 11:59:12 2023 UTC (22 months, 3 weeks ago) by riastradh
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2
lines
/etc/rc.d/sshd: Use default curve for ECDSA keygen, not NIST P-521.
The default is NIST P-256, which:
(a) has plenty of cryptanalytic security,
(b) performs better on essentially all platforms (smaller enough that
even the advantage of the Mersenne prime structure of P-521 can't
compete), and
(c) likely gets more scrutiny on implementations than P-521 since it's
more widespread.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon Jun 5 11:51:19 2023 UTC (22 months, 3 weeks ago) by riastradh
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +1 -2
lines
/etc/rc.d/sshd: Stop generating DSA host keys by default.
If you want them you can generate them yourself, but in this day and
age (Monday and 2023, specifically) there's no reason to be using DSA
except for compatibility with ancient legacy software.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri May 26 10:44:59 2023 UTC (23 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +14 -2
lines
/etc/rc.d/sshd: New check cmd and reload precmd.
- check cmd: run `sshd -t' to check sshd_config file
- reload precmd: run check cmd before reloading so we don't nuke sshd
if there's an error in the sshd_config file
(It is still possible to effectively nuke sshd by changing the
configuration tosomething that won't work on your network, but at
least we avoid making sshd just exit on reload when you make a typo
in a config option.)
XXX pullup-9
XXX pullup-10
Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun May 15 11:47:42 2022 UTC (2 years, 11 months ago) by martin
Branches: MAIN
CVS tags: netbsd-10-base
Branch point for: netbsd-10
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +6 -2
lines
PR 56835: fix sshd startup script to only whine about bogus keys it
created if it actualy did create keys (one should thing that a
function called sshd_keygen() only is called to create keys, but
the "precmd" magic makes it run every time sshd is started or stopped).
Patch from Tom Lane, with modifications suggested by kre and a minor
additional cosemtic change.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Sep 26 10:53:20 2021 UTC (3 years, 6 months ago) by martin
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +31 -3
lines
If key generation happens with not enough entropy in the system, add
a warning to motd pointing at entropy(7) and give instructions how to
re-generate the (weak) keys after fixing up entropy.
Add a "keyregen" command, which forces regeneration of all host keys
to simplify the replacement of weak keys.
Revision 1.29.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 13 07:45:46 2020 UTC (5 years ago) by martin
Branches: phil-wifi
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +6 -6
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Oct 23 14:45:38 2019 UTC (5 years, 6 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +6 -6
lines
simplify more (from rudolf)
Revision 1.25.2.3: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:25:11 2018 UTC (6 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.25.2.2: preferred, colored; branchpoint 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.2.2: +3 -3
lines
Sync with HEAD
Revision 1.23.8.3: download - view: text, markup, annotated - select for diffs
Thu Jun 7 16:11:49 2018 UTC (6 years, 10 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2
Diff to: previous 1.23.8.2: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.8.2: +3 -2
lines
Pull up following revision(s) (requested by jmcneill in ticket #838):
etc/rc.d/sshd: revision 1.28
Silence ssh-keygen output when host keys are generated. Instead, print only
key fingerprints. This replaces dozens of lines out ASCII art output with
something more reasonable:
armv7# service sshd start
ssh-keygen: 1024 SHA256:ynP4BQ2B0Fknnf9PfF4QoUDlYi0+7rNfYXTOYP2cDic root@armv7 (DSA)
ssh-keygen: 521 SHA256:Eoj382aaJNlSxuq/aYj3AXgxfMJAkyVPoCQd2BNjJiA root@armv7 (ECDSA)
ssh-keygen: 256 SHA256:+e9/qTbbN/g6xvkadtHsmIQ+Pc0afZRxbXJsk2HKIzY root@armv7 (ED25519)
ssh-keygen: 2048 SHA256:urNaF/m6oiCe5hXFZBxGLW2PvLz0ibtRFrqYw6R+qTw root@armv7 (RSA)
ssh-keygen: 256 SHA256:Su2Nal2W3vrFz8ukpcSXngl1/bu6xUm1nSvbxTHe9Js root@armv7 (XMSS)
Starting sshd.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Sat May 26 19:18:11 2018 UTC (6 years, 11 months ago) by riastradh
Branches: MAIN
CVS tags: phil-wifi-base,
phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
netbsd-9-base,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1
Branch point for: phil-wifi,
netbsd-9
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +1 -2
lines
Revert previous: Don't generate XMSS host keys for sshd by default.
XMSS is a stateful post-quantum signature scheme.
- Post-quantum security for _online_ authentication is not important
until quantum computers become practical; there's no danger of
retroactive forgery in sessions that have already completed.
- As a stateful signature schemes, XMSS is qualitatively different
from all the other ones sshd supports, requiring additional
administrative care: roll back the state (e.g., from a disk backup
or VM snapshot), and you've shot yourself in the foot.
If users want XMSS keys, they can make them explicitly, but there's
no need for this to be enabled by default.
Discussed with christos offline.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat May 26 00:17:54 2018 UTC (6 years, 11 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -2
lines
Silence ssh-keygen output when host keys are generated. Instead, print only
key fingerprints. This replaces dozens of lines out ASCII art output with
something more reasonable:
armv7# service sshd start
ssh-keygen: 1024 SHA256:ynP4BQ2B0Fknnf9PfF4QoUDlYi0+7rNfYXTOYP2cDic root@armv7 (DSA)
ssh-keygen: 521 SHA256:Eoj382aaJNlSxuq/aYj3AXgxfMJAkyVPoCQd2BNjJiA root@armv7 (ECDSA)
ssh-keygen: 256 SHA256:+e9/qTbbN/g6xvkadtHsmIQ+Pc0afZRxbXJsk2HKIzY root@armv7 (ED25519)
ssh-keygen: 2048 SHA256:urNaF/m6oiCe5hXFZBxGLW2PvLz0ibtRFrqYw6R+qTw root@armv7 (RSA)
ssh-keygen: 256 SHA256:Su2Nal2W3vrFz8ukpcSXngl1/bu6xUm1nSvbxTHe9Js root@armv7 (XMSS)
Starting sshd.
Revision 1.25.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 16 01:57:33 2018 UTC (7 years ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.25.2.1: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.2.1: +9 -17
lines
Sync with HEAD, resolve some conflicts
Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Apr 9 15:02:39 2018 UTC (7 years ago) by christos
Branches: MAIN
CVS tags: pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +9 -17
lines
Simplify so we don't have to hard-code the key filenames in two places.
Revision 1.25.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 7 04:11:58 2018 UTC (7 years ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -1
lines
Sync with HEAD. 77 conflicts resolved - all of them $NetBSD$
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Apr 7 00:41:16 2018 UTC (7 years ago) by christos
Branches: MAIN
CVS tags: pgoyette-compat-0407
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -1
lines
support xmss keys
Revision 1.23.8.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 09:44:48 2017 UTC (7 years, 4 months ago) by snj
Branches: netbsd-8
CVS tags: netbsd-8-0-RC1
Diff to: previous 1.23.8.1: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.8.1: +5 -5
lines
Pull up following revision(s) (requested by sevan in ticket #420):
etc/rc.d/sshd: revision 1.25
Do away with (not well specified, even if it happens to work) absurd
15 arg test ([ ]) expression, and replace it with several well defined
2 arg tests, combined with (also well defined) sh syntax.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Dec 4 14:50:33 2017 UTC (7 years, 4 months ago) by kre
Branches: MAIN
CVS tags: pgoyette-compat-base,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +5 -5
lines
Do away with (not well specified, even if it happens to work) absurd
15 arg test ([ ]) expression, and replace it with several well defined
2 arg tests, combined with (also well defined) sh syntax.
Revision 1.23.8.1: download - view: text, markup, annotated - select for diffs
Mon Dec 4 10:59:46 2017 UTC (7 years, 4 months ago) by snj
Branches: netbsd-8
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -4
lines
Pull up following revision(s) (requested by sevan in ticket #321):
etc/rc.d/sshd: revision 1.24
Don't try to generate sshv1 keys on new systems.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Oct 7 21:41:51 2017 UTC (7 years, 6 months ago) by sevan
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -4
lines
With the new version of OpenSSH, SSHv1 is no longer supported server-side.
Along with that rsa1 type keys are no longer supported.
Don't try to generate such keys on new systems.
ok christos
Revision 1.21.10.1: download - view: text, markup, annotated - select for diffs
Tue Aug 15 05:38:29 2017 UTC (7 years, 8 months ago) by snj
Branches: netbsd-6-0
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +26 -38
lines
Pull up following revision(s) (requested by mrg in ticket #1468):
etc/rc.d/sshd: revision 1.22
etc/rc.d/sshd: revision 1.23
PR/47540: Felix Deichmann: DSA keys can only be 1024 bits.
--
Add new keytype, replace duplicated code with loop
Revision 1.21.12.1: download - view: text, markup, annotated - select for diffs
Tue Aug 15 05:36:08 2017 UTC (7 years, 8 months ago) by snj
Branches: netbsd-6-1
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +26 -38
lines
Pull up following revision(s) (requested by mrg in ticket #1468):
etc/rc.d/sshd: revision 1.22
etc/rc.d/sshd: revision 1.23
PR/47540: Felix Deichmann: DSA keys can only be 1024 bits.
--
Add new keytype, replace duplicated code with loop
Revision 1.21.4.1: download - view: text, markup, annotated - select for diffs
Tue Aug 15 05:35:01 2017 UTC (7 years, 8 months ago) by snj
Branches: netbsd-6
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +26 -38
lines
Pull up following revision(s) (requested by mrg in ticket #1468):
etc/rc.d/sshd: revision 1.22-1.23
PR/47540: Felix Deichmann: DSA keys can only be 1024 bits.
--
Add new keytype, replace duplicated code with loop
Revision 1.22.10.1: download - view: text, markup, annotated - select for diffs
Sat May 2 18:04:37 2015 UTC (9 years, 11 months ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +26 -38
lines
Pull up following revision(s) (requested by nakayama in ticket #728):
etc/rc.d/sshd: revision 1.23
Add new keytype, replace duplicated code with loop
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Oct 19 16:33:01 2014 UTC (10 years, 6 months ago) by christos
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
netbsd-8-base,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: netbsd-8
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +26 -38
lines
Add new keytype, replace duplicated code with loop
Revision 1.21.2.1: download - view: text, markup, annotated - select for diffs
Thu May 22 11:27:20 2014 UTC (10 years, 11 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +2 -2
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.21.8.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:24:52 2013 UTC (12 years, 2 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +2 -2
lines
resync with head
Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Feb 7 19:32:19 2013 UTC (12 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
netbsd-7-base,
khorben-n900,
agc-symver-base,
agc-symver
Branch point for: netbsd-7
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -2
lines
PR/47540: Felix Deichmann: DSA keys can only be 1024 bits.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Jul 25 03:04:23 2011 UTC (13 years, 9 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-tag8,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus
Branch point for: yamt-pagecache,
tls-maxphys,
netbsd-6-1,
netbsd-6-0,
netbsd-6
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +11 -1
lines
generate ecdsa key
Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Aug 13 18:08:03 2004 UTC (20 years, 8 months ago) by mycroft
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
mjf-devfs2-base2,
mjf-devfs2-base,
mjf-devfs2,
mjf-devfs-base,
mjf-devfs,
matt-premerge-20091211,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-premerge-20101231,
matt-mips64-base2,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-nbase,
matt-armv6-base,
matt-armv6,
keiichi-mipv6-base,
keiichi-mipv6,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2
lines
Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this
for a speedup by doing:
$_rc_subr_loaded . /etc/rc.subr
Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Feb 18 17:36:34 2004 UTC (21 years, 2 months ago) by jonb
Branches: MAIN
CVS tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +6 -4
lines
Add ssh_keygen_flags variable to rc.conf to allow users to set the
size of auto-generated keys if desired.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Apr 29 08:23:34 2002 UTC (23 years ago) by lukem
Branches: MAIN
CVS tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6,
fvdl_fs64_base
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2
lines
Complete the conversion back to the OpenSSH default configuration files of
"/etc/ssh/ssh_config" (from "/etc/ssh/ssh.conf") for ssh(1) and other
userland tools, and "/etc/ssh/sshd_config (from "/etc/ssh/sshd.conf")
for sshd(8).
etc/postinstall will detect this, and if "fix" is given, rename the files.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Apr 29 05:55:06 2002 UTC (23 years ago) by lukem
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +14 -18
lines
deprecate $sshd_conf_dir and hardcode /etc/ssh.
$sshd_conf_dir wasn't as flexible as liked (it didn't work for ssh(1),
host keys or known_hosts).
Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Apr 19 23:13:44 2002 UTC (23 years ago) by enami
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2
lines
Don't assume that $0 is this script.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Apr 19 23:12:26 2002 UTC (23 years ago) by enami
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +16 -9
lines
Wrap long lines.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Mar 27 09:15:54 2002 UTC (23 years, 1 month ago) by lukem
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -1
lines
Set command_args to '-f ${sshd_conf_dir}/${name}.conf'.
This occurs before the first load_rc_config() so that it may be
overridden by the user, and appears in single quotes so the
variables don't get evaluated until the eval in run_rc_command().
Problem noted by Patrick Welche <prlw1@cam.ac.uk> in [bin/15912].
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Feb 24 12:50:09 2002 UTC (23 years, 2 months ago) by lukem
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +15 -14
lines
Support alternate config dir for sshd conf file and keys (defaults to "/etc").
Based on [misc/12473] from Jim Bernard.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Apr 25 23:27:37 2001 UTC (24 years ago) by lukem
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3
lines
be consistent with other scripts when temporarily setting umask to 022
Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Apr 25 23:18:50 2001 UTC (24 years ago) by lukem
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -4
lines
set the umask to 022 (remembering the previous setting) for ssh_keygen()
Revision 1.5.2.6: download - view: text, markup, annotated - select for diffs
Fri Mar 30 22:37:49 2001 UTC (24 years, 1 month ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001
Diff to: previous 1.5.2.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.5: +3 -2
lines
Pull up revision 1.10 (requested by itojun):
Auto-generate SSH protocol version 2 RSA key.
Use newer command syntax (``-t <type>'' instead of ``-d'').
(fix to previous)
Revision 1.5.2.5: download - view: text, markup, annotated - select for diffs
Fri Mar 30 22:36:34 2001 UTC (24 years, 1 month ago) by he
Branches: netbsd-1-5
Diff to: previous 1.5.2.4: preferred, colored
Changes since revision 1.5.2.4: +13 -5
lines
Pull up revision 1.9 (requested by itojun):
Auto-generate SSH protocol version 2 RSA key.
Use newer command syntax (``-t <type>'' instead of ``-d'').
Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Mar 26 22:32:39 2001 UTC (24 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -2
lines
check existence of /etc/ssh_host_rsa_key too
Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Mar 26 22:21:26 2001 UTC (24 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +13 -5
lines
auto-generate SSH protocol version 2 RSA key.
use newer command line syntax for ssh-keygen (-t <type>, instead of -d)
Revision 1.5.2.4: download - view: text, markup, annotated - select for diffs
Mon Oct 2 01:10:34 2000 UTC (24 years, 6 months ago) by lukem
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE,
netbsd-1-5-BETA2,
netbsd-1-5-BETA
Diff to: previous 1.5.2.3: preferred, colored
Changes since revision 1.5.2.3: +1 -1
lines
pull up rev 1.8 (approved by thorpej):
- always use $rcvar to determine the name of the var to checkyesno
- fix force*
Revision 1.5.2.3: download - view: text, markup, annotated - select for diffs
Fri Sep 29 05:45:54 2000 UTC (24 years, 7 months ago) by thorpej
Branches: netbsd-1-5
Diff to: previous 1.5.2.2: preferred, colored
Changes since revision 1.5.2.2: +16 -16
lines
Sync this with rev 1.8.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Sep 19 13:04:39 2000 UTC (24 years, 7 months ago) by lukem
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -1
lines
- only perform the checkyesno on the variable named in $rcvar (rather than
implicitly using $name if $rcvar isn't set), and always perform this check,
even when using start_cmd (et al).
this check is performed before the pidcmd
is run, speeding up scripts that weren't going to be run anyway.
this should speed up booting slow systems.
- take advantage of the above and remove
start_precmd="checkyesno foo"
in scripts that use start_cmd.
- explicitly set rcvar=foo in the rc.d/foo scripts which have an equivalent
rc.conf entry
- fix `rcvar' and `restart' when $rcvar isn't set.
these above changes fix PR [bin/11027].
- when doing `force*', ignore the return value of *_precmd.
this fixes PR [bin/10781].
- rename what sysdb provides from `databases' to `sysdb', to reflect
the name of the script.
- improve the comments in rc.subr
Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Aug 10 22:49:43 2000 UTC (24 years, 8 months ago) by lukem
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3
lines
- sshd has a pid file, so take advantage of it
- support `reload' arg (using default of SIGHUP)
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Aug 10 01:41:09 2000 UTC (24 years, 8 months ago) by lukem
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +12 -13
lines
- provide sshd not ssh
- don't start until after LOGIN (after NETWORK is way too early)
- KNF (as such :)
Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 9 19:09:46 2000 UTC (24 years, 8 months ago) by lukem
Branches: netbsd-1-5
CVS tags: netbsd-1-5-ALPHA2
Diff to: previous 1.5.2.1: preferred, colored
Changes since revision 1.5.2.1: +48 -0
lines
pull up the following
approved by: thorpej
etc/rc.d/DAEMON 1.3
etc/rc.d/LOGIN 1.3
etc/rc.d/NETWORK 1.1
etc/rc.d/SERVERS 1.2
etc/rc.d/cron 1.4
etc/rc.d/dhclient 1.6
etc/rc.d/dmesg 1.4
etc/rc.d/inetd 1.5
etc/rc.d/lkm1 1.3
etc/rc.d/lkm2 1.3
etc/rc.d/lkm3 1.4
etc/rc.d/motd 1.3
etc/rc.d/mountcritlocal 1.3-1.4
etc/rc.d/mountcritremote 1.3
etc/rc.d/mountd 1.7
etc/rc.d/network 1.12 1.14
etc/rc.d/ntpdate 1.4
etc/rc.d/ppp 1.3-1.4
etc/rc.d/pwcheck 1.3
etc/rc.d/rpcbind 1.4
etc/rc.d/sshd 1.3-1.5
etc/rc.d/swap1 1.5
etc/rc.d/swap2 1.4
etc/rc.d/sysdb 1.3-1.4
etc/rc.d/syslogd 1.5-1.6
etc/rc.d/systemfs REMOVE
etc/rc.d/virecover 1.3
etc/rc.d/wscons 1.4
etc/rc.d/xdm 1.5
summary:
* reword descriptions
* add '# KEYWORD: shutdown' to some of these scripts so that only they get run
at shutdown time. now, only scripts with the keyword `shutdown' will be
run by /etc/rc.shutdown, which speeds up shutdown and makes it more robust
* add new dummy dependancy `NETWORK' to be REQUIREd by services which need
networking to be operational before starting, and use as appropriate.
NETWORK depends upon network and dhclient.
* move the guts of systemfs into mountcritlocal
* replace the dependancy on systemfs with mountcritremote, and remove the
former.
* SERVERS now also depends upon ppp
* move recreating /var/run/utmp from mountcritlocal (where /var/run is
purged but /usr/bin/install is not available) to sysdb.
problem noted by Matthias Drochner.
* share the same load_rc_config between the lkm* scripts
* network: Don't warn that $hostname isn't set if the hostname is already set.
* network: reenable stop_cmd now that network doesn't get run at shutdown
* add sshd startup script
* use "load_rc_config swap" for swap1 and swap2
* syslog requires databases from sysdb which creates /var/run/utmp.
Should fix PRs:
[install/9853] [bin/10002] [misc/10349] [port-i386/10633] [misc/10641]
Revision 1.5.2.1
Tue Aug 1 14:28:32 2000 UTC (24 years, 9 months ago) by lukem
Branches: netbsd-1-5
FILE REMOVED
Changes since revision 1.5: +0 -48
lines
file sshd was added on branch netbsd-1-5 on 2000-08-09 19:09:46 +0000
Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Aug 1 14:28:32 2000 UTC (24 years, 9 months ago) by jwise
Branches: MAIN
Branch point for: netbsd-1-5
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -2
lines
Change name of precmd from start_precmd to sshd_precmd. While it worked
fine as was, the result was the line `start_precmd=start_precmd' which
looked odd. Pointed out by Bernd Ernesti.
While here, add NetBSD RCS Id.
BTW, to clarify, as people have asked: this script does not support
pkgsrc/security/sshd -- that package comes with a perfectly fine rc script
which in addition to supporting /etc/rc.d can also be used with 1.4.X.
This script will not trivially work with the ssh package as it a.) calls
the ssh commands at the pathnames they will be installed at by usr.bin/ssh,
and b.) generates a DSA key as well as an RSA key.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Jul 31 21:43:52 2000 UTC (24 years, 9 months ago) by jlam
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -1
lines
Correct apparent past-o: RSA -> DSA
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Jul 31 20:39:41 2000 UTC (24 years, 9 months ago) by jwise
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +38 -9
lines
An sshd startup script for use with usr.bin/sshd. Installation is conditional
on ${SSHDIST}, as with usr.bin/ssh itself.
This script includes a `keygen' target for regenerating RSA and DSA host keys,
and invokes this if these keys are not present when sshd is started up.
Revision 1.2
Mon Mar 13 04:04:07 2000 UTC (25 years, 1 month ago) by lukem
Branches: MAIN
FILE REMOVED
Changes since revision 1.1: +1 -1
lines
* replace daemon, login, servers with DAEMON, LOGIN, SERVERS
* remove sshd (it was from my private system)
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Fri Mar 10 11:53:24 2000 UTC (25 years, 1 month ago) by lukem
Branches: TNF
CVS tags: rc-d-2000-03-10
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0
lines
rc.d scripts derived from /etc/rc
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Mar 10 11:53:24 2000 UTC (25 years, 1 month ago) by lukem
Branches: MAIN
Initial revision
CVSweb <webmaster@jp.NetBSD.org>