Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ftp over ssh support (sftp) #283

Open
tadvaas opened this issue Sep 13, 2024 · 5 comments
Open

ftp over ssh support (sftp) #283

tadvaas opened this issue Sep 13, 2024 · 5 comments

Comments

@tadvaas
Copy link

tadvaas commented Sep 13, 2024

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
Copy link
Owner

PartialVolume commented Sep 13, 2024

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

@tadvaas
Copy link
Author

tadvaas commented Sep 14, 2024

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
Copy link
Author

tadvaas commented Sep 14, 2024

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
Copy link
Owner

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
Copy link
Author

tadvaas commented Sep 16, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants