Public | Automated Build

Last pushed: 2 months ago
Short Description
simple sftp client via openssh with sshpass
Full Description

alpine-sftp-client

Get a list of files

>list.txt docker run -i --rm chartedcode/alpine-sftp-client sshpass -p password sftp -oStrictHostKeyChecking=no user@ftp.example.com:subfolder <<"EOT"
ls -1t *.zip
bye
EOT

Download a file

docker run -v $PWD:/tmp/share --rm chartedcode/alpine-sftp-client sshpass -p password sftp -oStrictHostKeyChecking=no user@ftp.example.com:subfolder/file.zip
Docker Pull Command
Owner
chartedcode
Source Repository

Comments (0)