MAN page from RedHat Other ssh-2.0.11-1.i386.rpm
SCP2
Section: SSH2 (1)
Updated: June 29, 1998
Index
NAME
scp2 - secure copy client
SYNOPSIS
scp2[
-D debug_level_spec][
-d ][
-p ][
-n ][
-u ][
-v ][
-h ][
-c cipher ][
-S ssh2-path][
-P ssh2-port][
-t ][
-f ][
-1 ][
-r ][[user@]host[#port]:]file ... [[user@]host[#port]:]file_or_dir
DESCRIPTION
Scp2(Secure Copy) is used in copying files over the network securely.It usesssh2for data transfer, and uses the same authentication and providesthe same security asssh2 .Unlikercp,scp2will ask for passwords or passphrases if they are needed forauthentication.
Any filename may contain a host, user and port specification toindicate that the file is to be copied to/from that host. Copiesbetween two remote hosts are permitted. ``file'' can contain wildcards``*'' and ``?'', in which case they are expanded by scp2. Thesewildcards can be escaped by a ``\'', in which case the wildcard isnot expanded.
OPTIONS
- -D debug_level_spec
- Print extensive debug information to stderr. debug_level_spec isa number, from 0 to 99, where 99 specifies that all debuginformation should be displayed.
- -d
- With this option,scp2will make sure that the destination file is a directory. If not,scp2will exit with an error message.
- -p
- Tellsscp2to preserve file attributes and timestamps.
- -n
- Makesscp2show what operations would've been done, without actually copyingany files.
- -u
- Makesscp2remove source-files after copying.
- -v
- Makesscp2verbose. This is equal to specifying `-D 2'-option.
- -h
- Display short help.
- -c cipher
- Select encryption algorithm, that ssh2will use. Multiple -c options are allowed anda single -c flag can have only one cipher.
- -S ssh2-path
- Specifies the path tossh2used in connecting.
- -P ssh2-port
- Specifies the remote port tossh2 .Ports can also be defined in a file-to-file basis. See SYNOPSIS .
- -t or -f
- These options are reserved forscp1compability mode. If they are used withscp2,it gives them as arguments toscp1to handle the connection.
- -1
- This option invokesscp1with given arguments. The``-1''is removed from the list, however, because scp1 doesn't understandthis option. Because of this, it is wise to give this option as thefirst argument toscp2and separated from other arguments. Otherwise, it probably won't work.
- -r
- This option specifies, that scp2should copy directories recursively. Does not follow symbolic links.
INSTALLATION
Scp2 uses ssh2in network connections. Therefore it is not installed suid-root.Notice that subsystem `sftp-server' must be defined in sshd2(8)'sconfiguration file in the remote end for scp2 to work.
AUTHORS
SSH Communications Security Ltd
For more information, see http://www.ssh.fi.
SEE ALSO
ssh2(1),
sshd2(8),
ssh-keygen2(1),
ssh-agent2(1),
ssh-add2(1),
sftp(1)
rlogin(1),
rsh(1),
telnet(1)
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- INSTALLATION
- AUTHORS
- SEE ALSO
This document was created byman2html,using the manual pages.