saltstack/salt — Issue #588: Salt state ssh_auth creates non-root files as root
Author: robinsmidsrod
Created: 2012-01-27 14:20:41+00:00
State: open

If you specify a non-root user in the ssh_auth state, the authorized_keys and .ssh directory will be owned by root, and the file permissions on the directory and file are too open.

~/.ssh should be 0700 and ~/.ssh/authorized_keys should be 0600.