error: Could not get shadow information for root

centos는

/etc/ssh/sshd_config에서
UsePAM yes를 추가한 뒤 sshd를 리스타트 한다.