[BACK]Return to scp.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Annotation of src/usr.bin/ssh/scp.1, Revision 1.2

1.1       deraadt     1: .\"  -*- nroff -*-
                      2: .\"
                      3: .\" scp.1
                      4: .\"
                      5: .\" Author: Tatu Ylonen <ylo@cs.hut.fi>
                      6: .\"
                      7: .\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
                      8: .\"                    All rights reserved
                      9: .\"
                     10: .\" Created: Sun May  7 00:14:37 1995 ylo
                     11: .\"
1.2     ! aaron      12: .\" $Id: scp.1,v 1.1 1999/09/26 20:53:37 deraadt Exp $
1.1       deraadt    13: .\"
                     14: .TH SCP 1 "November 8, 1995" SSH SSH
                     15:
                     16: .SH NAME
                     17: scp \- secure copy (remote file copy program)
                     18:
                     19: .SH SYNOPSIS
                     20: .LP
                     21: .B scp
                     22: [\c
1.2     ! aaron      23: .B \-pqrvC\c
1.1       deraadt    24: ]
                     25: [\c
                     26: .BI \-P "\ port\c
                     27: ]
                     28: [\c
                     29: .BI \-c "\ cipher\c
                     30: ]
                     31: [\c
                     32: .BI \-i "\ identity\c
                     33: ]
                     34: .if n .ti +5
                     35: [[\c
                     36: .B user@\c
                     37: ]\c
                     38: .B host1:\c
                     39: ]\c
                     40: .B filename1\c
                     41: \&.\|.\|.
                     42: [[\c
                     43: .B user@\c
                     44: ]\c
                     45: .B host2:\c
                     46: ]\c
                     47: .B filename2
                     48:
                     49: .SH DESCRIPTION
                     50: .LP
                     51: .B Scp
                     52: copies files between hosts on a network.  It uses
                     53: .B ssh
                     54: for data transfer, and uses the same authentication and provides the
                     55: same security as
                     56: .B ssh.
                     57: Unlike
                     58: .BR rcp ",
                     59: .B ssh
                     60: will ask for passwords or passphrases if they are needed for
                     61: authentication.
                     62: .LP
                     63: Any file name may contain a host and user specification to indicate
                     64: that the file is to be copied to/from that host.  Copies between two
                     65: remote hosts are permitted.
                     66:
                     67: .SH OPTIONS
                     68:
                     69: .TP 0.6i
                     70: .BI \-c "\ cipher
                     71: Selects the cipher to use for encrypting the data transfer.  This
                     72: option is directly passed to
                     73: .B ssh.
                     74: .TP
                     75: .BI \-i "\ identity_file
                     76: Selects the file from which the identity (private key) for RSA
                     77: authentication is read.  This option is directly passed to
                     78: .B ssh.
                     79: .TP
                     80: .B \-p
                     81: Preserves modification times, access times, and modes from the
                     82: original file.
                     83: .TP
                     84: .B \-r
                     85: Recursively copy entire directories.
                     86: .TP
                     87: .B \-v
                     88: Verbose mode.  Causes
                     89: .B scp
                     90: and
                     91: .B ssh
                     92: to print debugging messages about their progress.  This is helpful in
                     93: debugging connection, authentication, and configuration problems.
                     94: .TP
                     95: .B \-B
                     96: Selects batch mode (prevents asking for passwords or passphrases).
1.2     ! aaron      97: .TP
        !            98: .B \-q
        !            99: Disables the progress meter.
1.1       deraadt   100: .TP
                    101: .B \-C
                    102: Compression enable.  Passes the -C flag to
                    103: .B ssh
                    104: to enable compression.
                    105: .TP
                    106: .BI \-P "\ port
                    107: Specifies the port to connect to on the remote host.  Note that this
                    108: option is written with a capital P, because \-p is already reserved for
                    109: preserving the times and modes of the file in rcp.
                    110:
                    111: .SH AUTHORS
                    112: .LP
                    113: Timo Rinne <tri@iki.fi> and Tatu Ylonen <ylo@cs.hut.fi>
                    114:
                    115: .SH DERIVATION
                    116: .LP
                    117: .B Scp
                    118: is based on the
                    119: .B rcp
                    120: program in BSD source code from the Regents of the University of
                    121: California.
                    122:
                    123: .SH SEE ALSO
                    124: .LP
                    125: .BR ssh (1),
                    126: .BR sshd (8),
                    127: .BR ssh-keygen (1),
                    128: .BR ssh-agent (1),
                    129: .BR ssh-add (1),
                    130: .BR rcp (1)