GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
OpenXPKI::Server::Workflow::Activity::Transfer::SCP(3) User Contributed Perl Documentation OpenXPKI::Server::Workflow::Activity::Transfer::SCP(3)

OpenXPKI::Server::Workflow::Activity::Transfer::SCP

Copy a local file to a remote host using scp with key authentication (without password). Calls the operating systems scp command using Proc::SafeExec.

The configuration is twofold, you need to give some data in the action config

   class: 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.

2022-05-14 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.