summaryrefslogtreecommitdiff
path: root/sftp.1
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-03-07 01:26:48 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-03-07 01:26:48 +0000
commit562c26bccf50264bb10551d81cb5cce93c2e8d6f (patch)
treeba7fdf542c230443df323855a113154b1cb4ffb3 /sftp.1
parente21c4adaac7eae7b66b731defc2172a6a80a79ef (diff)
downloadopenssh-git-562c26bccf50264bb10551d81cb5cce93c2e8d6f.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 .