diff options
Diffstat (limited to 'scp.0')
-rw-r--r-- | scp.0 | 25 |
1 files changed, 22 insertions, 3 deletions
@@ -4,8 +4,9 @@ NAME | |||
4 | scp M-bM-^@M-^S secure copy (remote file copy program) | 4 | scp M-bM-^@M-^S secure copy (remote file copy program) |
5 | 5 | ||
6 | SYNOPSIS | 6 | SYNOPSIS |
7 | scp [-346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] | 7 | scp [-346BCpqrTv] [-c cipher] [-F ssh_config] [-i identity_file] |
8 | [-l limit] [-o ssh_option] [-P port] [-S program] source ... target | 8 | [-J destination] [-l limit] [-o ssh_option] [-P port] [-S program] |
9 | source ... target | ||
9 | 10 | ||
10 | DESCRIPTION | 11 | DESCRIPTION |
11 | scp copies files between hosts on a network. It uses ssh(1) for data | 12 | scp copies files between hosts on a network. It uses ssh(1) for data |
@@ -52,6 +53,14 @@ DESCRIPTION | |||
52 | key authentication is read. This option is directly passed to | 53 | key authentication is read. This option is directly passed to |
53 | ssh(1). | 54 | ssh(1). |
54 | 55 | ||
56 | -J destination | ||
57 | Connect to the target host by first making an scp connection to | ||
58 | the jump host described by destination and then establishing a | ||
59 | TCP forwarding to the ultimate destination from there. Multiple | ||
60 | jump hops may be specified separated by comma characters. This | ||
61 | is a shortcut to specify a ProxyJump configuration directive. | ||
62 | This option is directly passed to ssh(1). | ||
63 | |||
55 | -l limit | 64 | -l limit |
56 | Limits the used bandwidth, specified in Kbit/s. | 65 | Limits the used bandwidth, specified in Kbit/s. |
57 | 66 | ||
@@ -141,6 +150,16 @@ DESCRIPTION | |||
141 | Name of program to use for the encrypted connection. The program | 150 | Name of program to use for the encrypted connection. The program |
142 | must understand ssh(1) options. | 151 | must understand ssh(1) options. |
143 | 152 | ||
153 | -T Disable strict filename checking. By default when copying files | ||
154 | from a remote host to a local directory scp checks that the | ||
155 | received filenames match those requested on the command-line to | ||
156 | prevent the remote end from sending unexpected or unwanted files. | ||
157 | Because of differences in how various operating systems and | ||
158 | shells interpret filename wildcards, these checks may cause | ||
159 | wanted files to be rejected. This option disables these checks | ||
160 | at the expense of fully trusting that the server will not send | ||
161 | unexpected filenames. | ||
162 | |||
144 | -v Verbose mode. Causes scp and ssh(1) to print debugging messages | 163 | -v Verbose mode. Causes scp and ssh(1) to print debugging messages |
145 | about their progress. This is helpful in debugging connection, | 164 | about their progress. This is helpful in debugging connection, |
146 | authentication, and configuration problems. | 165 | authentication, and configuration problems. |
@@ -160,4 +179,4 @@ AUTHORS | |||
160 | Timo Rinne <tri@iki.fi> | 179 | Timo Rinne <tri@iki.fi> |
161 | Tatu Ylonen <ylo@cs.hut.fi> | 180 | Tatu Ylonen <ylo@cs.hut.fi> |
162 | 181 | ||
163 | OpenBSD 6.4 September 20, 2018 OpenBSD 6.4 | 182 | OpenBSD 6.5 January 26, 2019 OpenBSD 6.5 |