diff options
author | Damien Miller <djm@mindrot.org> | 2003-05-14 13:47:07 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-05-14 13:47:07 +1000 |
commit | fb7508edc8db9b5f445170237ec666beb3a3f6ac (patch) | |
tree | 0e4568df6d08cc23e3cd44dbdf3c838d2a7af995 /sftp.1 | |
parent | f84cc6343a66c041461a357cbe53e6becede6011 (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.1 | 24 |
1 files changed, 17 insertions, 7 deletions
@@ -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 |
55 | is an interactive file transfer program, similar to | 58 | is an interactive file transfer program, similar to |
@@ -68,8 +71,17 @@ The second usage format will retrieve files automatically if a non-interactive | |||
68 | authentication method is used; otherwise it will do so after | 71 | authentication method is used; otherwise it will do so after |
69 | successful interactive authentication. | 72 | successful interactive authentication. |
70 | .Pp | 73 | .Pp |
71 | The last usage format allows the sftp client to start in a remote directory. | 74 | The third usage format allows the sftp client to start in a remote directory. |
72 | .Pp | 75 | .Pp |
76 | The final usage form allows for automated sessions using the | ||
77 | .Fl b | ||
78 | option. In such cases, it is usually necessary to configure public key | ||
79 | authentication to obviate the need to enter a password at connection | ||
80 | time (see | ||
81 | .Xr sshd 8 | ||
82 | and | ||
83 | .Xr ssh-keygen 1 | ||
84 | for details.) | ||
73 | The options are as follows: | 85 | The 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 ? |
282 | Synonym for help. | 294 | Synonym for help. |
283 | .El | 295 | .El |
284 | .Sh AUTHORS | ||
285 | Damien 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 , |