actions-marketplace-validations/Copy via ssh

Github Action to copy a folder to a remote server using SSH

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Jul 11, 2024
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/garygrossgarten_github-action-scp@018af5390d23febac3487b064a460f5fb6966db7 # no releases — HEAD as of 2026-07-12

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
localPath to the local folder you want to copy.yes
remotePath on the remote server to copy to.yes
dotfilesDetermines if files with leading dot (.) on folder copy is includednofalse
rmRemoteIf it is a directory, remote files in it will be deleted before the copy is started.no
concurrencyNumber of concurrent file transfers.no1
recursiveWether copy of directory should be recursivenotrue
verboseLog status of every file copynotrue
hostHostname or IP address of the server.nolocalhost
usernameUsername for authentication.no
portPort number of the server.no22
privateKeyFile Location or string that contains a private key for either key-based or hostbased user authentication (OpenSSH format)no
passwordPassword for password-based user authentication.no
passphraseFor an encrypted private key, this is the passphrase used to decrypt it.no
tryKeyboardTry keyboard-interactive user authentication if primary user authentication method fails.no
atomicPutUpload files to temporary file first, then rename once upload completednofalse

no outputs