ssrshdzw 2012-08-03
#192.168.10.220:generatekey:publickey(likeadoor),privatekey(likeakey)
ssh-keygen-trsa
mvid_rsa/root/.ssh/sj221.key
scpid_rsa.pub192.168.10.221:/root/.ssh/#movepublickeyto221
#192.168.10.221:setupthedoor(publickey)into221
cat/root/.ssh/id_rsa.pub>>/root/.ssh/authorized_keys#addpublickey(door)intoauthorized_keys
rm/root/.ssh/id_rsa.pub
#192.168.10.220:openthedoor
ssh-i/root/.ssh/sj221.key192.168.10.221