配置Oracle用户的ssh authorized keys
如何配置HOST1,HOST2之间基于Oracle用户ssh无密码登录
1. login HOST1 as oracle ,在~/.ssh/下生存公id_rsa.pub、私钥id_rsa
ssh-keygen -t rsa
2. login HOST2 as oracle ,在~/.ssh/下生存公id_rsa.pub、私钥id_rsa
3. on HOST1,copy 认证key到host2且生成authorized_keys 文件
scp id_rsa.pub HOST2:/~/.ssh/authorized_keys
4. on HOST2, 把本机的authorized key 合并到刚才拷贝过的keys中,并回copy一份给HOST1
cat id_rsa.pub >> ~/.ssh/authorized_keys
scp authorized_keys HOST1:~/.ssh/
相关推荐
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
sshong 2020-07-19
BraveWangDev 2020-07-19
annan 2020-07-18