By ysatishreddy
Hi All,
I have a couple of requirements which I need to achieve using Linux machine.
can you please guide me how to design the above requirement.
thanks!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
You could write a quick bash script using SCP/SFTP for transfers and if you are using say OpenSSL:
#!/bin/bash
openssl des3 -salt -in file1.txt -out file1.crypt -pass pass:CHANGEME
openssl des3 -salt -in file2.txt -out file2.crypt -pass pass:CHANGEME
# This is the SCP Option
scp <file to upload> <username>@<hostname>:<destination path>
scp <file to upload> <username>@<hostname>:<destination path>
# This is the SFTP Option (Make Batch File)
sftp -b files.list username@hostname
If you want to use SFTP or SCP setup keys, but if you need to do SFTP option too use the batch option just put this into a files.list file with this script:
cd some-path/
binary
put file1.crypt
put file2.crypt
quit
See if that helps!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
