wp-scp/docs.md

1.1 KiB

name description author
scp SCP an artifact to a remote host Jacob Patterson

Settings

Settings without a default value are required.

Name Default Description
remote_host Remote host
remote_port 22 Remote listening port
remote_path Destination path to copy the file to
remote_user User to authenticate to remote host with
ssh_private_key Contents of RSA private key to authenticate to remote host with
file File to copy

Example

steps:
  push-file: drone-scp:latest
  pull: true
  settings:
    remote_host: 111.222.333.444
    remote_path: /tmp
    remote_user: user
    ssh_private_key:
      from_secret: ssh_private_key
    file: output