建立SSH信任关系
linux-root:~ # ssh-keygen -t dsa
Generating public/private dsa key pair.
Enterfileinwhichtosavethekey(/root/.ssh/id_dsa):
Enterpassphrase(emptyfornopassphrase):
Entersamepassphraseagain:
Youridentificationhasbeensavedin/root/.ssh/id_dsa.
Yourpublickeyhasbeensavedin/root/.ssh/id_dsa.pub.
Thekeyfingerprintis:
52:8c:fb:ce:71:fb:82:a1:1c:43:4c:c2:1f:4b:63:f3 root@linux-d8lolinux-d8lo:~ # cd .ssh/ linux-d8lo:~/.ssh # ls
id_dsa id_dsa.pub id_rsa id_rsa.pub known_hosts
linux-d8lo:~/.ssh # cat id_dsa.pub >> authorized_keys linux-d8lo:~/.ssh # chmod 600 auth
相关推荐
projava 2020-11-14
WanKaShing 2020-11-12
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
sshong 2020-07-19
BraveWangDev 2020-07-19
annan 2020-07-18