summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--sftp.124
2 files changed, 25 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index fab77fd94..53d039fc3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -56,6 +56,13 @@
56 - markus@cvs.openbsd.org 2003/05/12 18:35:18 56 - markus@cvs.openbsd.org 2003/05/12 18:35:18
57 [ssh-keyscan.1] 57 [ssh-keyscan.1]
58 typo: DSA keys are of type ssh-dss; Brian Poole 58 typo: DSA keys are of type ssh-dss; Brian Poole
59 - markus@cvs.openbsd.org 2003/05/14 00:52:59
60 [ssh2.h]
61 ranges for per auth method messages
62 - djm@cvs.openbsd.org 2003/05/14 01:00:44
63 [sftp.1]
64 emphasise the batchmode functionality and make reference to pubkey auth,
65 both of which are FAQs; ok markus@
59 66
6020030512 6720030512
61 - (djm) Redhat spec: Don't install profile.d scripts when not 68 - (djm) Redhat spec: Don't install profile.d scripts when not
@@ -1443,4 +1450,4 @@
1443 save auth method before monitor_reset_key_state(); bugzilla bug #284; 1450 save auth method before monitor_reset_key_state(); bugzilla bug #284;
1444 ok provos@ 1451 ok provos@
1445 1452
1446$Id: ChangeLog,v 1.2690 2003/05/14 03:46:33 djm Exp $ 1453$Id: ChangeLog,v 1.2691 2003/05/14 03:47:07 djm Exp $
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 ,