version 1.41, 2003/03/28 10:11:43 |
version 1.42, 2003/05/14 01:00:44 |
|
|
.Nm sftp |
.Nm sftp |
.Nd Secure file transfer program |
.Nd Secure file transfer program |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm sftp |
.Nm |
.Bk -words |
.Bk -words |
.Op Fl vC1 |
.Op Fl vC1 |
.Op Fl b Ar batchfile |
.Op Fl b Ar batchfile |
|
|
.Op Fl S Ar program |
.Op Fl S Ar program |
.Ar host |
.Ar host |
.Ek |
.Ek |
.Nm sftp |
.Nm |
.Oo Oo Ar user Ns No @ Oc Ns |
.Oo Oo Ar user Ns No @ Oc Ns |
.Ar host Ns Oo : Ns Ar file Oo |
.Ar host Ns Oo : Ns Ar file Oo |
.Ar file Oc Oc Oc |
.Ar file Oc Oc Oc |
.Nm sftp |
.Nm |
.Oo Oo Ar user Ns No @ Oc Ns |
.Oo Oo Ar user Ns No @ Oc Ns |
.Ar host Ns Oo : Ns Ar dir Ns |
.Ar host Ns Oo : Ns Ar dir Ns |
.Oo Ar / Oc Oc Oc |
.Oo Ar / Oc Oc Oc |
|
.Nm |
|
.Fl b Ar batchfile |
|
.Oo Ar user Ns No @ Oc Ns Ar host Ns |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
.Nm |
.Nm |
is an interactive file transfer program, similar to |
is an interactive file transfer program, similar to |
|
|
authentication method is used; otherwise it will do so after |
authentication method is used; otherwise it will do so after |
successful interactive authentication. |
successful interactive authentication. |
.Pp |
.Pp |
The last usage format allows the sftp client to start in a remote directory. |
The third usage format allows the sftp client to start in a remote directory. |
.Pp |
.Pp |
|
The final usage form allows for automated sessions using the |
|
.Fl b |
|
option. In such cases, it is usually necessary to configure public key |
|
authentication to obviate the need to enter a password at connection |
|
time (see |
|
.Xr sshd 8 |
|
and |
|
.Xr ssh-keygen 1 |
|
for details.) |
The options are as follows: |
The options are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
.It Fl b Ar batchfile |
.It Fl b Ar batchfile |
|
|
.It Ic ? |
.It Ic ? |
Synonym for help. |
Synonym for help. |
.El |
.El |
.Sh AUTHORS |
|
Damien Miller <djm@mindrot.org> |
|
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr scp 1 , |
.Xr scp 1 , |
.Xr ssh 1 , |
.Xr ssh 1 , |