diff options
Diffstat (limited to 'sftp.1')
-rw-r--r-- | sftp.1 | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: sftp.1,v 1.9 2001/03/02 18:54:31 deraadt Exp $ | 1 | .\" $OpenBSD: sftp.1,v 1.10 2001/03/06 06:11:44 deraadt Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 2001 Damien Miller. All rights reserved. | 3 | .\" Copyright (c) 2001 Damien Miller. All rights reserved. |
4 | .\" | 4 | .\" |
@@ -31,6 +31,7 @@ | |||
31 | .Sh SYNOPSIS | 31 | .Sh SYNOPSIS |
32 | .Nm sftp | 32 | .Nm sftp |
33 | .Op Fl vC | 33 | .Op Fl vC |
34 | .Op Fl b Ar batchfile | ||
34 | .Op Fl o Ar ssh_option | 35 | .Op Fl o Ar ssh_option |
35 | .Op Ar hostname | user@hostname | 36 | .Op Ar hostname | user@hostname |
36 | .Sh DESCRIPTION | 37 | .Sh DESCRIPTION |
@@ -55,6 +56,17 @@ Raise logging level. This option is also passed to ssh. | |||
55 | Enables compression (via ssh's | 56 | Enables compression (via ssh's |
56 | .Fl C | 57 | .Fl C |
57 | flag) | 58 | flag) |
59 | .It Fl b Ar batchfile | ||
60 | Batch mode reads a series of commands from an input | ||
61 | .Fn batchfile | ||
62 | instead of | ||
63 | .Fn stdin . | ||
64 | Since it lacks user interaction it should be used in conjuction with a | ||
65 | non-interactive authentication. Sftp will abort if any of the following | ||
66 | commands fail: | ||
67 | .Pa get, put, rename, rm, mkdir, chdir, lchdir | ||
68 | and | ||
69 | .Pa lmkdir. | ||
58 | .It Fl o Ar ssh_option | 70 | .It Fl o Ar ssh_option |
59 | Specify an option to be directly passed to | 71 | Specify an option to be directly passed to |
60 | .Xr ssh 1 . | 72 | .Xr ssh 1 . |