version 1.42, 2003/05/14 01:00:44 |
version 1.43, 2003/05/14 08:25:39 |
|
|
.Nm sftp |
.Nm sftp |
.Nd Secure file transfer program |
.Nd Secure file transfer program |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm |
.Nm sftp |
.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 |
.Nm sftp |
.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 |
.Nm sftp |
.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 |
.Nm sftp |
.Fl b Ar batchfile |
.Fl b Ar batchfile |
.Oo Ar user Ns No @ Oc Ns Ar host Ns |
.Oo Ar user Ns No @ Oc Ns Ar host Ns |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
|
|
.Pp |
.Pp |
The third 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 |
The final usage form allows for automated sessions using the |
.Fl b |
.Fl b |
option. In such cases, it is usually necessary to configure public key |
option. In such cases, it is usually necessary to configure public key |
authentication to obviate the need to enter a password at connection |
authentication to obviate the need to enter a password at connection |
time (see |
time (see |
.Xr sshd 8 |
.Xr sshd 8 |
and |
and |
.Xr ssh-keygen 1 |
.Xr ssh-keygen 1 |
for details.) |
for details.) |
The options are as follows: |
The options are as follows: |