• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

SFTP client for centos6

Noturns

Regular Pleskian
I need some help with setting up an automated SFTP on centos6
because i would like to create a cronjob that syncs files

1. If someone could post an example SFTP batch file with specific SFTP port?
solved. found an article -- http://stackoverflow.com/questions/...sftp-command-with-a-password-from-bash-script
found port solution here -- http://www.linuxquestions.org/questions/linux-security-4/how-to-use-different-port-for-sftp-345359/
found an alternative for open sftp (yafc) is an alternative solution which supports -r parameter for files and folders -- http://unix.stackexchange.com/questions/7004/uploading-directories-with-sftp

2. Explain passwordless authentication?
solved. found an article -- http://stackoverflow.com/questions/...sftp-command-with-a-password-from-bash-script
and found article -- http://www.linuxforums.org/forum/programming-scripting/108268-expect-spawn-command-not-found.html

3. Copy an local directory to SFTP directory?
solved. found an article -- http://stackoverflow.com/questions/...sftp-command-with-a-password-from-bash-script

4. How to parse date to a variable?
solved. found an article -- http://www.unix.com/shell-programming-and-scripting/26708-assign-date-value-variable.html

5. How to generate a logfile to that same SFTP directory?
not solved yet

Thanks
 
Last edited:
Back
Top