给selinux搞死了,忙了一个下午
1. /etc/ssh/sshd_config
StrictModes no
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
PasswordAuthentication no
#ChallengeResponseAuthentication
Match User backup
ForceCommand internal-sftp
X11Forwarding no
AllowTcpForwarding no
ChrootDirectory /data/backup/
(more…)