Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ssh/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/35.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ssh “安全替代方案”;wget——镜像;_Ssh_Backup_Wget - Fatal编程技术网

Ssh “安全替代方案”;wget——镜像;

Ssh “安全替代方案”;wget——镜像;,ssh,backup,wget,Ssh,Backup,Wget,我在寻找一个安全的替代方案 wget --mirror --preserve-permissions --directory-prefix=/hdd2/website-backups --exclude-directories=special,stats --ftp-user=user --ftp-password=pass ftp://ftp.domain.com 它是通过cron执行的 中的“-mirror”开关对我很重要。echo | wget-i- 或使用.netrc存储密码 或者不使

我在寻找一个安全的替代方案

wget --mirror --preserve-permissions --directory-prefix=/hdd2/website-backups --exclude-directories=special,stats --ftp-user=user --ftp-password=pass ftp://ftp.domain.com
它是通过cron执行的

中的“-mirror”开关对我很重要。

echo | wget-i-

或使用.netrc存储密码

或者不使用wget?

echo | wget-i-

或使用.netrc存储密码


或者不使用wget?

您是否尝试过rsync?(我以前从未用FTP尝试过,但我希望可以做点什么。当然可以用SFTP/SSH。)

你试过
rsync
?(我以前从未用FTP尝试过,但我希望可以做点什么。当然可以用SFTP/SSH。)

不确定这里的“安全”是什么意思——你的意思是希望支持SFTP或FTPS

如果是这样的话,您可以使用——但它不能自己进行递归镜像;你需要一个脚本来完成

或者还有其他类似的工具--在这里,您可能会找到一个适合您需要的功能的工具。

不确定这里的“安全”是什么意思--您的意思是希望支持SFTP或FTPS

如果是这样的话,您可以使用——但它不能自己进行递归镜像;你需要一个脚本来完成


或者还有其他类似的工具——在这里,您可以找到一个适合您需要的功能的工具。

尝试在SuperUser或ServerFault上问这个问题,他们可能会提供更好的答案。尝试在SuperUser或ServerFault上问这个问题,他们可能会提供更好的答案。我最终选择了rsync。主页告诉了我我需要知道的一切,尽管我最终不得不用“-I”(眼睛)标志指定我的钥匙的位置。我最终使用了rsync。主页告诉了我需要知道的一切,尽管最后我不得不用“-I”(眼睛)标志指定钥匙的位置。