MAN page from RedHat Other ssh-clients-1.2.22-4i.libc5.i386.rpm
SCP
Section: SSH (1)
Updated: November 8, 1995
Index
NAME
scp - secure copy (remote file copy program)
SYNOPSIS
scp[-prvBC][-S path-to-ssh][-o ssh-options][-P port][-c cipher][-i identity]
[[user@]host1:]filename1...[[user@]host2:]filename2
DESCRIPTION
Scpcopies files between hosts on a network. It usessshfor data transfer, and uses the same authentication and provides thesame security asssh.Unlikercp,scpwill ask for passwords or passphrases if they are needed forauthentication.
Any file name may contain a host and user specification to indicatethat the file is to be copied to/from that host. Copies between tworemote hosts are permitted.
OPTIONS
- -c cipher
- Selects the cipher to use for encrypting the data transfer. Thisoption is directly passed tossh.
- -i identity_file
- Selects the file from which the identity (private key) for RSAauthentication is read. This option is directly passed tossh.
- -o ssh-options
- Ssh options passed to ssh.
- -p
- Preserves modification times, access times, and modes from theoriginal file.
- -r
- Recursively copy entire directories.
- -v
- Verbose mode. Causesscpand sshto print debugging messages about their progress. This is helpful indebugging connection, authentication, and configuration problems.
- -B
- Selects batch mode (prevents asking for passwords or passphrases).
- -C
- Compression enable. Passes the -C flag tosshto enable compression.
- -P port
- Specifies the port to connect to on the remote host. Note that thisoption is written with a capital P, because -p is already reserved forpreserving the times and modes of the file in rcp.
- -S path-to-ssh
- Specifies the path to ssh program.
AUTHORS
Timo Rinne <tri@iki.fi> and Tatu Ylonen <yloAATTssh.fi>
DERIVATION
Scpis based on thercpprogram in BSD source code from the Regents of the University ofCalifornia.
SEE ALSO
ssh(1),sshd(8),ssh-keygen(1),ssh-agent(1),ssh-add(1),rcp(1)
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- AUTHORS
- DERIVATION
- SEE ALSO
This document was created byman2html,using the manual pages.