gkrizek/bash-lambda-layer

Include sshpass

ht2 opened this issue · 2 comments

ht2 commented

The package includes the sftp binary, but unless you are using pem files its actually quite hard to get sftp to work with a password in non-interactive mode! Would be create to include sshpass to get round that.

https://linux.die.net/man/1/sshpass

Usage

sshpass -p password sftp user@host.com

Thanks for the suggestions! I plan on releasing a new version soon and I'll try to include this.

This was added in #29