summaryrefslogtreecommitdiff
path: root/sftp.1
diff options
context:
space:
mode:
Diffstat (limited to 'sftp.1')
-rw-r--r--sftp.114
1 files changed, 13 insertions, 1 deletions
diff --git a/sftp.1 b/sftp.1
index 22915133b..e1c6960f8 100644
--- a/sftp.1
+++ b/sftp.1
@@ -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.
55Enables compression (via ssh's 56Enables compression (via ssh's
56.Fl C 57.Fl C
57flag) 58flag)
59.It Fl b Ar batchfile
60Batch mode reads a series of commands from an input
61.Fn batchfile
62instead of
63.Fn stdin .
64Since it lacks user interaction it should be used in conjuction with a
65non-interactive authentication. Sftp will abort if any of the following
66commands fail:
67.Pa get, put, rename, rm, mkdir, chdir, lchdir
68and
69.Pa lmkdir.
58.It Fl o Ar ssh_option 70.It Fl o Ar ssh_option
59Specify an option to be directly passed to 71Specify an option to be directly passed to
60.Xr ssh 1 . 72.Xr ssh 1 .