PDF 文書ファイルをダウンロードする (7229 KB)
scp(1)Name | Synopsis | Description | Options | Operands | Exit Status | Attributes | See Also | Notes Name
Synopsis
scp [-pqrvBC46] [-F ssh_config] [-S program] [-P port]
[-c cipher] [-i identity_file] [-o ssh_option]
[ [user@]host1:]file1 []... [ [user@]host2:]file2
DescriptionThe scp utility copies files between hosts on a network. It uses ssh(1) for data transfer, and uses the same authentication and provides the same security as ssh(1). Unlike rcp(1), scp will ask for passwords or passphrases if they are needed for authentication. Any file name may contain a host and user specification to indicate that the file is to be copied to/from that host. Copies between two remote hosts are permitted. Options
The following options are supported: Operands
The following operands are supported: Exit StatusAttributesSee attributes(5) for descriptions of the following attributes:
See AlsoNotesGenerally, use of scp with password or keyboard-interactive authentication method and two remote hosts does not work. It does work with either the pubkey, hostbased or gssapi-keyex authentication method. For the pubkey authentication method, either private keys not protected by a passphrase, or an explicit ssh agent forwarding have to be used. The gssapi-keyex authentication method works with the kerberos_v5 GSS-API mechanism, but only if the GSSAPIDelegateCredentials option is enabled. Name | Synopsis | Description | Options | Operands | Exit Status | Attributes | See Also | Notes |
|||||||