summaryrefslogtreecommitdiff
path: root/sftp.1
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-05-14 13:47:07 +1000
committerDamien Miller <djm@mindrot.org>2003-05-14 13:47:07 +1000
commitfb7508edc8db9b5f445170237ec666beb3a3f6ac (patch)
tree0e4568df6d08cc23e3cd44dbdf3c838d2a7af995 /sftp.1
parentf84cc6343a66c041461a357cbe53e6becede6011 (diff)
- djm@cvs.openbsd.org 2003/05/14 01:00:44
[sftp.1] emphasise the batchmode functionality and make reference to pubkey auth, both of which are FAQs; ok markus@
Diffstat (limited to 'sftp.1')
-rw-r--r--sftp.124
1 files changed, 17 insertions, 7 deletions
diff --git a/sftp.1 b/sftp.1
index 02d2c274b..53c1263f0 100644
--- a/sftp.1
+++ b/sftp.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: sftp.1,v 1.41 2003/03/28 10:11:43 jmc Exp $ 1.\" $OpenBSD: sftp.1,v 1.42 2003/05/14 01:00:44 djm Exp $
2.\" 2.\"
3.\" Copyright (c) 2001 Damien Miller. All rights reserved. 3.\" Copyright (c) 2001 Damien Miller. All rights reserved.
4.\" 4.\"
@@ -29,7 +29,7 @@
29.Nm sftp 29.Nm sftp
30.Nd Secure file transfer program 30.Nd Secure file transfer program
31.Sh SYNOPSIS 31.Sh SYNOPSIS
32.Nm sftp 32.Nm
33.Bk -words 33.Bk -words
34.Op Fl vC1 34.Op Fl vC1
35.Op Fl b Ar batchfile 35.Op Fl b Ar batchfile
@@ -42,14 +42,17 @@
42.Op Fl S Ar program 42.Op Fl S Ar program
43.Ar host 43.Ar host
44.Ek 44.Ek
45.Nm sftp 45.Nm
46.Oo Oo Ar user Ns No @ Oc Ns 46.Oo Oo Ar user Ns No @ Oc Ns
47.Ar host Ns Oo : Ns Ar file Oo 47.Ar host Ns Oo : Ns Ar file Oo
48.Ar file Oc Oc Oc 48.Ar file Oc Oc Oc
49.Nm sftp 49.Nm
50.Oo Oo Ar user Ns No @ Oc Ns 50.Oo Oo Ar user Ns No @ Oc Ns
51.Ar host Ns Oo : Ns Ar dir Ns 51.Ar host Ns Oo : Ns Ar dir Ns
52.Oo Ar / Oc Oc Oc 52.Oo Ar / Oc Oc Oc
53.Nm
54.Fl b Ar batchfile
55.Oo Ar user Ns No @ Oc Ns Ar host Ns
53.Sh DESCRIPTION 56.Sh DESCRIPTION
54.Nm 57.Nm
55is an interactive file transfer program, similar to 58is an interactive file transfer program, similar to
@@ -68,8 +71,17 @@ The second usage format will retrieve files automatically if a non-interactive
68authentication method is used; otherwise it will do so after 71authentication method is used; otherwise it will do so after
69successful interactive authentication. 72successful interactive authentication.
70.Pp 73.Pp
71The last usage format allows the sftp client to start in a remote directory. 74The third usage format allows the sftp client to start in a remote directory.
72.Pp 75.Pp
76The final usage form allows for automated sessions using the
77.Fl b
78option. In such cases, it is usually necessary to configure public key
79authentication to obviate the need to enter a password at connection
80time (see
81.Xr sshd 8
82and
83.Xr ssh-keygen 1
84for details.)
73The options are as follows: 85The options are as follows:
74.Bl -tag -width Ds 86.Bl -tag -width Ds
75.It Fl b Ar batchfile 87.It Fl b Ar batchfile
@@ -281,8 +293,6 @@ Escape to local shell.
281.It Ic ? 293.It Ic ?
282Synonym for help. 294Synonym for help.
283.El 295.El
284.Sh AUTHORS
285Damien Miller <djm@mindrot.org>
286.Sh SEE ALSO 296.Sh SEE ALSO
287.Xr scp 1 , 297.Xr scp 1 ,
288.Xr ssh 1 , 298.Xr ssh 1 ,