diff options
Diffstat (limited to 'sftp-server.8')
-rw-r--r-- | sftp-server.8 | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/sftp-server.8 b/sftp-server.8 index bb19c15e1..2fd3df20c 100644 --- a/sftp-server.8 +++ b/sftp-server.8 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: sftp-server.8,v 1.19 2010/01/09 03:36:00 jmc Exp $ | 1 | .\" $OpenBSD: sftp-server.8,v 1.21 2013/01/04 19:26:38 jmc Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 2000 Markus Friedl. All rights reserved. | 3 | .\" Copyright (c) 2000 Markus Friedl. All rights reserved. |
4 | .\" | 4 | .\" |
@@ -22,7 +22,7 @@ | |||
22 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 22 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
23 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24 | .\" | 24 | .\" |
25 | .Dd $Mdocdate: January 9 2010 $ | 25 | .Dd $Mdocdate: January 4 2013 $ |
26 | .Dt SFTP-SERVER 8 | 26 | .Dt SFTP-SERVER 8 |
27 | .Os | 27 | .Os |
28 | .Sh NAME | 28 | .Sh NAME |
@@ -31,6 +31,7 @@ | |||
31 | .Sh SYNOPSIS | 31 | .Sh SYNOPSIS |
32 | .Nm sftp-server | 32 | .Nm sftp-server |
33 | .Op Fl ehR | 33 | .Op Fl ehR |
34 | .Op Fl d Ar start_directory | ||
34 | .Op Fl f Ar log_facility | 35 | .Op Fl f Ar log_facility |
35 | .Op Fl l Ar log_level | 36 | .Op Fl l Ar log_level |
36 | .Op Fl u Ar umask | 37 | .Op Fl u Ar umask |
@@ -56,6 +57,17 @@ for more information. | |||
56 | .Pp | 57 | .Pp |
57 | Valid options are: | 58 | Valid options are: |
58 | .Bl -tag -width Ds | 59 | .Bl -tag -width Ds |
60 | .It Fl d Ar start_directory | ||
61 | specifies an alternate starting directory for users. | ||
62 | The pathname may contain the following tokens that are expanded at runtime: | ||
63 | %% is replaced by a literal '%', | ||
64 | %h is replaced by the home directory of the user being authenticated, | ||
65 | and %u is replaced by the username of that user. | ||
66 | The default is to use the user's home directory. | ||
67 | This option is useful in conjunction with the | ||
68 | .Xr sshd_config 5 | ||
69 | .Cm ChrootDirectory | ||
70 | option. | ||
59 | .It Fl e | 71 | .It Fl e |
60 | Causes | 72 | Causes |
61 | .Nm | 73 | .Nm |