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

Add flag to enable secure SSH features #261

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

normana10
Copy link

Long time user

I recently automated some of my rsync-time-backup backups with cron and now I get hourly emails warning me that the host key has been added to the list of known hosts

This is due to the -o UserKnownHostsFile=/dev/null SSH flag being used

I've added a flag --secure-ssh which is disabled by default (so the current default behavior is maintained) but when enabled removes the SSH flag (thus enabling the SSH security features)

I no longer get emails from Cron 👍

This closes #181 and #104

Thanks!

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

Successfully merging this pull request may close these issues.

Backup of / is not cron friendly
1 participant