PartialVolume / shredos.x86_64

Shredos Disk Eraser 64 bit for all Intel 64 bit processors as well as processors from AMD and other vendors which make compatible 64 bit chips. ShredOS - Secure disk erasure/wipe
Other
1.49k stars 64 forks source link

ftp over ssh support (sftp) #283

Open tadvaas opened 1 month ago

tadvaas commented 1 month ago

No documentation on how to use sftp to send pdf reports to remote server on port 22.

Tried shredos_output="protcol:IP_address:path:username:password:debug" does not work with protocol set as sftp, lftp seems to not work when it comes to sftp

PartialVolume commented 1 month ago

sftp support has not been implemented yet. It will be available in the upcoming release.

tadvaas commented 1 month ago

For anyone looking sftp support for v2024.02.2_26.0_x86-64_0.37 to upload files on completion:

lftp="set sftp:auto-confirm yes; open sftp://user:pass@host; cd /home/shredos/data/; mput .pdf; mput nwipe_.txt"

In case of the need to separate the log files from PDF reports:

lftp="set sftp:auto-confirm yes; open sftp://user:pass@host; cd /home/shredos/reports/; mput .pdf; cd /home/shredos/logs/; mput nwipe_.txt"

tadvaas commented 1 month ago

When it comes to shredos_config="", is there a SFTP support for that yet? I can see that the command uses LFTP to fetch the config files from remote server? Any way to supply additional parameters?

PartialVolume commented 1 month ago

I'm currently testing a sftp update for both sending pdfs/logs using shredos_output and importing .conf and customers files using shredos_config.

tadvaas commented 1 month ago

That's great. Just want to thank you for developing this software, it really is great. If you have any alphas to run, please do let me know. Any ideas when is the new release coming out?