|
NAMEOpenXPKI::Server::Workflow::Activity::Transfer::SCPDescriptionCopy a local file to a remote host using scp with key authentication (without password). Calls the operating systems scp command using Proc::SafeExec.ConfigurationThe configuration is twofold, you need to give some data in the action configclass: OpenXPKI::Server::Workflow::Activity::Transfer::SCP param: retry_count: 5 retry_interval: +0000000005 _map_source: $sourcefile _map_target: $targetfile transfer: export.transfer Transfer points to a datapoint of the config where the connection information for scp is set (see below). Source is the name of the source file, target is optional and appended to the target given in the transfer config. The configuration of the transport layer is done via the config layer: target: upload@localhost:~/incoming/ command: /my/local/version/of/bin/scp port: 22 identity: /home/pkiadm/id_scp sshconfig: /home/pkiadm/ssh_copy_config timeout: 30 Target is mandatory and must contain the full target as expected by the scp command. As default command /usr/bin/scp is used, you might give an alternative here. All other options are optional and passed to the scp command using the appropriate command line flags.
Visit the GSP FreeBSD Man Page Interface. |