Annotation of src/usr.bin/ssh/scp.1, Revision 1.1
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: .\"
! 12: .\" $Id: scp.1,v 1.2 1999/05/04 11:59:08 bg Exp $
! 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
! 23: .B \-prvC\c
! 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).
! 97: .TP
! 98: .B \-C
! 99: Compression enable. Passes the -C flag to
! 100: .B ssh
! 101: to enable compression.
! 102: .TP
! 103: .BI \-P "\ port
! 104: Specifies the port to connect to on the remote host. Note that this
! 105: option is written with a capital P, because \-p is already reserved for
! 106: preserving the times and modes of the file in rcp.
! 107:
! 108: .SH AUTHORS
! 109: .LP
! 110: Timo Rinne <tri@iki.fi> and Tatu Ylonen <ylo@cs.hut.fi>
! 111:
! 112: .SH DERIVATION
! 113: .LP
! 114: .B Scp
! 115: is based on the
! 116: .B rcp
! 117: program in BSD source code from the Regents of the University of
! 118: California.
! 119:
! 120: .SH SEE ALSO
! 121: .LP
! 122: .BR ssh (1),
! 123: .BR sshd (8),
! 124: .BR ssh-keygen (1),
! 125: .BR ssh-agent (1),
! 126: .BR ssh-add (1),
! 127: .BR rcp (1)