1.ssh-keygen -t dsa
2.cd /root/.ssh
3.cp id_dsa.pub authorized_keys
4.chmod go-rwx authorized_keys
5.scp -r /root/.ssh/ wang2:/root