summaryrefslogtreecommitdiff
path: root/sftp.1
diff options
context:
space:
mode:
authormouring <mouring>2001-03-07 01:26:48 +0000
committermouring <mouring>2001-03-07 01:26:48 +0000
commitb53059df8d4a18fb0fba6666db324f0182d7e28b (patch)
tree15e401d48e0b4a81b710fb0d7ba27d31d1681046 /sftp.1
parent34047482905e78591b812c3c8fb6cd7d9485eb0c (diff)
downloadopenssh-b53059df8d4a18fb0fba6666db324f0182d7e28b.tar.gz
- deraadt@cvs.openbsd.org 2001/03/06 06:11:44
[sftp-int.c sftp.1 sftp.c] sftp -b batchfile; mouring@etoh.eviladmin.org
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 22915133..e1c6960f 100644
--- a/sftp.1
+++ b/sftp.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sftp.1,v 1.9 2001/03/02 18:54:31 deraadt Exp $
+.\" $OpenBSD: sftp.1,v 1.10 2001/03/06 06:11:44 deraadt Exp $
.\"
.\" Copyright (c) 2001 Damien Miller. All rights reserved.
.\"
@@ -31,6 +31,7 @@
.Sh SYNOPSIS
.Nm sftp
.Op Fl vC
+.Op Fl b Ar batchfile
.Op Fl o Ar ssh_option
.Op Ar hostname | user@hostname
.Sh DESCRIPTION
@@ -55,6 +56,17 @@ Raise logging level. This option is also passed to ssh.
Enables compression (via ssh's
.Fl C
flag)
+.It Fl b Ar batchfile
+Batch mode reads a series of commands from an input
+.Fn batchfile
+instead of
+.Fn stdin .
+Since it lacks user interaction it should be used in conjuction with a
+non-interactive authentication. Sftp will abort if any of the following
+commands fail:
+.Pa get, put, rename, rm, mkdir, chdir, lchdir
+and
+.Pa lmkdir.
.It Fl o Ar ssh_option
Specify an option to be directly passed to
.Xr ssh 1 .