summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2008-05-19 14:28:19 +1000
committerDamien Miller <djm@mindrot.org>2008-05-19 14:28:19 +1000
commit56f41ddc5472ef04f20c59ec94a74825b8439898 (patch)
tree185e28de74dae3d74aad899ebda0a9a4089fe108
parent797e3d117f8b4cfed5f066ef88f28826eb8f8b41 (diff)
- djm@cvs.openbsd.org 2008/04/04 06:44:26
[sshd_config.5] oops, some unrelated stuff crept into that commit - backout. spotted by jmc@
-rw-r--r--ChangeLog6
-rw-r--r--sshd_config.537
2 files changed, 7 insertions, 36 deletions
diff --git a/ChangeLog b/ChangeLog
index dd8602954..f0ecbe21a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,10 @@
4 [sshd_config.5] 4 [sshd_config.5]
5 ChrootDirectory is supported in Match blocks (in fact, it is most useful 5 ChrootDirectory is supported in Match blocks (in fact, it is most useful
6 there). Spotted by Minstrel AT minstrel.org.uk 6 there). Spotted by Minstrel AT minstrel.org.uk
7 - djm@cvs.openbsd.org 2008/04/04 06:44:26
8 [sshd_config.5]
9 oops, some unrelated stuff crept into that commit - backout.
10 spotted by jmc@
7 11
820080403 1220080403
9 - (djm) [openbsd-compat/bsd-poll.c] Include stdlib.h to avoid compile- 13 - (djm) [openbsd-compat/bsd-poll.c] Include stdlib.h to avoid compile-
@@ -3864,4 +3868,4 @@
3864 OpenServer 6 and add osr5bigcrypt support so when someone migrates 3868 OpenServer 6 and add osr5bigcrypt support so when someone migrates
3865 passwords between UnixWare and OpenServer they will still work. OK dtucker@ 3869 passwords between UnixWare and OpenServer they will still work. OK dtucker@
3866 3870
3867$Id: ChangeLog,v 1.4906 2008/05/19 04:27:42 djm Exp $ 3871$Id: ChangeLog,v 1.4907 2008/05/19 04:28:19 djm Exp $
diff --git a/sshd_config.5 b/sshd_config.5
index be3869713..601b56402 100644
--- a/sshd_config.5
+++ b/sshd_config.5
@@ -34,8 +34,8 @@
34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36.\" 36.\"
37.\" $OpenBSD: sshd_config.5,v 1.85 2008/04/04 05:14:38 djm Exp $ 37.\" $OpenBSD: sshd_config.5,v 1.86 2008/04/04 06:44:26 djm Exp $
38.Dd $Mdocdate: April 4 2008 $ 38.Dd $Mdocdate: May 19 2008 $
39.Dt SSHD_CONFIG 5 39.Dt SSHD_CONFIG 5
40.Os 40.Os
41.Sh NAME 41.Sh NAME
@@ -210,29 +210,6 @@ in-process sftp server is used (see
210.Cm Subsystem 210.Cm Subsystem
211for details). 211for details).
212.Pp 212.Pp
213Please note that there are many ways to misconfigure a chroot environment
214in ways that compromise security.
215These include:
216.Pp
217.Bl -dash -offset indent -compact
218.It
219Making unsafe setuid binaries available;
220.It
221Having missing or incorrect configuration files in the chroot's
222.Pa /etc
223directory;
224.It
225Hard-linking files between the chroot and outside;
226.It
227Leaving unnecessary
228.Pa /dev
229nodes accessible inside the chroot (especially those for physical drives);
230.It
231Executing scripts or binaries inside the chroot from outside, either
232directly or through facilities such as
233.Xr cron 8 .
234.El
235.Pp
236The default is not to 213The default is not to
237.Xr chroot 2 . 214.Xr chroot 2 .
238.It Cm Ciphers 215.It Cm Ciphers
@@ -363,11 +340,6 @@ Specifying a command of
363will force the use of an in-process sftp server that requires no support 340will force the use of an in-process sftp server that requires no support
364files when used with 341files when used with
365.Cm ChrootDirectory . 342.Cm ChrootDirectory .
366Note that
367.Dq internal-sftp
368is only supported when
369.Cm UsePrivilegeSeparation
370is enabled.
371.It Cm GatewayPorts 343.It Cm GatewayPorts
372Specifies whether remote hosts are allowed to connect to ports 344Specifies whether remote hosts are allowed to connect to ports
373forwarded for the client. 345forwarded for the client.
@@ -830,11 +802,6 @@ server.
830This may simplify configurations using 802This may simplify configurations using
831.Cm ChrootDirectory 803.Cm ChrootDirectory
832to force a different filesystem root on clients. 804to force a different filesystem root on clients.
833Note that
834.Dq internal-sftp
835is only supported when
836.Cm UsePrivilegeSeparation
837is enabled.
838.Pp 805.Pp
839By default no subsystems are defined. 806By default no subsystems are defined.
840Note that this option applies to protocol version 2 only. 807Note that this option applies to protocol version 2 only.