????????????????????????scp?? ?????? ????????????????дShell????????????????????shell???????й?????????????????????????????ɡ?
???????????????£?
????????????????A
??????????????B
????1.?? A ?????? ssh-keygen -t rsa ??/home/openpf/.ssh??????id_rsa ?? id_rsa.pub ??????????????/home/openpf/.ssh???????????id_rsa.pub ????? id_rsa.pub.A???????????????B??????????

????2. ?? B ?????????? ssh-keygen -t rsa
????3. ?? B ??/home/openpf/.ssh?′???authorized_keys???????A ?? id_rsa.pub.A ??????? B??????/home/openpf/.ssh ?£?
??????? cat ???? ??id_rsa.pub.A ?д?? authorized_keys ????У????????£?
????scp ./id_rsa.pub.A  B??IP:/home/openpf/.ssh
????cat id_rsa.pub.A  >>  authorized_keys
????4.???????
?????????
????scp ./id_rsa.pub.A  10.16.133.200:/home/openpf/.ssh   ??????????????г??
????????
?????????????
????1.??????????????????
????scp ????? ?????@?????IP:???·??
????2.????????????????
????scp ?????@?????IP:????? ????·??
????????????
????1.?????????????????
????scp -r ???? ?????@?????IP:???·??
????2.???????????????
????scp -r ?????@?????IP:????????·??