milanmk / actions-file-deployer

Composite GitHub Action (Linux runner) for deploying repository content to remote server. Fast and customizable deployment with proxy support. Deploy only changed files or do full sync/mirror of repository content.
The Unlicense
64 stars 15 forks source link

Can we add SSH key passphrase support? #30

Closed theloveofcode closed 7 months ago

theloveofcode commented 7 months ago

I've tried forking this myself to add it, but have been unsuccessful. Are you able to add support for SSH key passphrase with non-empty passphrases?

milanmk commented 7 months ago

Based on the available LFTP options, I don't think this can be automated. This action internally uses sftp:connect-program option to connect via SSH but there is no way to automate passing of the SSH Key passphrase.