scp.0 (214979) | scp.0 (218767) |
---|---|
1SCP(1) OpenBSD Reference Manual SCP(1) 2 3NAME 4 scp - secure copy (remote file copy program) 5 6SYNOPSIS | 1SCP(1) OpenBSD Reference Manual SCP(1) 2 3NAME 4 scp - secure copy (remote file copy program) 5 6SYNOPSIS |
7 scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] | 7 scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] |
8 [-l limit] [-o ssh_option] [-P port] [-S program] 9 [[user@]host1:]file1 ... [[user@]host2:]file2 10 11DESCRIPTION 12 scp copies files between hosts on a network. It uses ssh(1) for data 13 transfer, and uses the same authentication and provides the same security 14 as ssh(1). Unlike rcp(1), scp will ask for passwords or passphrases if 15 they are needed for authentication. --- 5 unchanged lines hidden (view full) --- 21 are also permitted. 22 23 The options are as follows: 24 25 -1 Forces scp to use protocol 1. 26 27 -2 Forces scp to use protocol 2. 28 | 8 [-l limit] [-o ssh_option] [-P port] [-S program] 9 [[user@]host1:]file1 ... [[user@]host2:]file2 10 11DESCRIPTION 12 scp copies files between hosts on a network. It uses ssh(1) for data 13 transfer, and uses the same authentication and provides the same security 14 as ssh(1). Unlike rcp(1), scp will ask for passwords or passphrases if 15 they are needed for authentication. --- 5 unchanged lines hidden (view full) --- 21 are also permitted. 22 23 The options are as follows: 24 25 -1 Forces scp to use protocol 1. 26 27 -2 Forces scp to use protocol 2. 28 |
29 -3 Copies between two remote hosts are transferred through the local 30 host. Without this option the data is copied directly between 31 the two remote hosts. Note that this option disables the 32 progress meter. 33 |
|
29 -4 Forces scp to use IPv4 addresses only. 30 31 -6 Forces scp to use IPv6 addresses only. 32 33 -B Selects batch mode (prevents asking for passwords or 34 passphrases). 35 36 -C Compression enable. Passes the -C flag to ssh(1) to enable --- 41 unchanged lines hidden (view full) --- 78 HashKnownHosts 79 Host 80 HostbasedAuthentication 81 HostKeyAlgorithms 82 HostKeyAlias 83 HostName 84 IdentityFile 85 IdentitiesOnly | 34 -4 Forces scp to use IPv4 addresses only. 35 36 -6 Forces scp to use IPv6 addresses only. 37 38 -B Selects batch mode (prevents asking for passwords or 39 passphrases). 40 41 -C Compression enable. Passes the -C flag to ssh(1) to enable --- 41 unchanged lines hidden (view full) --- 83 HashKnownHosts 84 Host 85 HostbasedAuthentication 86 HostKeyAlgorithms 87 HostKeyAlias 88 HostName 89 IdentityFile 90 IdentitiesOnly |
91 IPQoS |
|
86 KbdInteractiveDevices | 92 KbdInteractiveDevices |
93 KexAlgorithms |
|
87 LogLevel 88 MACs 89 NoHostAuthenticationForLocalhost 90 NumberOfPasswordPrompts 91 PasswordAuthentication 92 PKCS11Provider 93 Port 94 PreferredAuthentications --- 31 unchanged lines hidden (view full) --- 126 -S program 127 Name of program to use for the encrypted connection. The program 128 must understand ssh(1) options. 129 130 -v Verbose mode. Causes scp and ssh(1) to print debugging messages 131 about their progress. This is helpful in debugging connection, 132 authentication, and configuration problems. 133 | 94 LogLevel 95 MACs 96 NoHostAuthenticationForLocalhost 97 NumberOfPasswordPrompts 98 PasswordAuthentication 99 PKCS11Provider 100 Port 101 PreferredAuthentications --- 31 unchanged lines hidden (view full) --- 133 -S program 134 Name of program to use for the encrypted connection. The program 135 must understand ssh(1) options. 136 137 -v Verbose mode. Causes scp and ssh(1) to print debugging messages 138 about their progress. This is helpful in debugging connection, 139 authentication, and configuration problems. 140 |
141EXIT STATUS |
|
134 The scp utility exits 0 on success, and >0 if an error occurs. 135 136SEE ALSO 137 rcp(1), sftp(1), ssh(1), ssh-add(1), ssh-agent(1), ssh-keygen(1), 138 ssh_config(5), sshd(8) 139 140HISTORY 141 scp is based on the rcp(1) program in BSD source code from the Regents of 142 the University of California. 143 144AUTHORS 145 Timo Rinne <tri@iki.fi> 146 Tatu Ylonen <ylo@cs.hut.fi> 147 | 142 The scp utility exits 0 on success, and >0 if an error occurs. 143 144SEE ALSO 145 rcp(1), sftp(1), ssh(1), ssh-add(1), ssh-agent(1), ssh-keygen(1), 146 ssh_config(5), sshd(8) 147 148HISTORY 149 scp is based on the rcp(1) program in BSD source code from the Regents of 150 the University of California. 151 152AUTHORS 153 Timo Rinne <tri@iki.fi> 154 Tatu Ylonen <ylo@cs.hut.fi> 155 |
148OpenBSD 4.8 February 8, 2010 OpenBSD 4.8 | 156OpenBSD 4.8 December 9, 2010 OpenBSD 4.8 |