ssh-keygen -t(指明算法) dsa|rsa
之后:
[YJZ@YJZ ~]$ ssh-copy-id -i .ssh/id_dsa.pub -p 22 [email protected] 把公钥发到107上