generate key in linux
#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
相关推荐
tosim 2020-06-24
returnspace 2020-06-21
WanKaShing 2020-11-12
projava 2020-11-14
airfish000 2020-09-11
tryfind 2020-09-14
yegen00 2020-09-10
kkaazz 2020-09-03
风语者 2020-09-02
BraveWangDev 2020-08-19
lichuanlong00 2020-08-15
gsl 2020-08-15
pandaphinex 2020-08-09
yhuihon 2020-08-09
CheNorton 2020-08-02
xiangqiao 2020-07-28
hpujsj 2020-07-26
hpujsj 2020-07-26