summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/sshd_config.5
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2009-04-21 15:13:18 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2009-04-21 15:13:18 +0000
commit6990b8260a7d4eb2f3f2209cd7f7d5d27c8935da (patch)
tree2921397e3a6b8971812b244e13175dc521bd6f49 /usr.bin/ssh/sshd_config.5
parentdc8d4b5dbb28ee514958d3a500d6135ee05c1e1e (diff)
clarify we cd to user's home after chroot; ok markus@ on
earlier version; tweaks and ok jmc@
Diffstat (limited to 'usr.bin/ssh/sshd_config.5')
-rw-r--r--usr.bin/ssh/sshd_config.57
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshd_config.5 b/usr.bin/ssh/sshd_config.5
index d3c1a7a0530..89c085fe98f 100644
--- a/usr.bin/ssh/sshd_config.5
+++ b/usr.bin/ssh/sshd_config.5
@@ -34,8 +34,8 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $OpenBSD: sshd_config.5,v 1.105 2009/04/18 18:39:10 jmc Exp $
-.Dd $Mdocdate: April 18 2009 $
+.\" $OpenBSD: sshd_config.5,v 1.106 2009/04/21 15:13:17 stevesk Exp $
+.Dd $Mdocdate: April 21 2009 $
.Dt SSHD_CONFIG 5
.Os
.Sh NAME
@@ -188,6 +188,9 @@ Specifies a path to
to after authentication.
This path, and all its components, must be root-owned directories that are
not writable by any other user or group.
+After the chroot,
+.Xr sshd 8
+changes the working directory to the user's home directory.
.Pp
The path may contain the following tokens that are expanded at runtime once
the connecting user has been authenticated: %% is replaced by a literal '%',