grid@m3's password: Permission denied, please try again.
[grid@m1 .ssh]$ ssh-copy-id -i id_rsa.pub m3
10
grid@m3's password:
Permission denied, please try again.
出现这个问题 大多数是 passwd 的时候 密码没有输入正确
测试:
输入错误的密码:
ogout
[root@m2 ~]# su - grid
[grid@m2 ~]$ ssh m3
grid@m3's password:
Permission denied, please try again.
grid@m3's password:
Permission denied, please try again.
grid@m3's password:
Permission denied (publickey,gssapi-with-mic,password).
解决方法
[root@m3 ~]# groupadd oper
[root@m3 ~]# usermod -g oinstall -G dba,asmdba,asmoper,asmadmin,oper grid
[root@m3 ~]# id
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
[root@m3 ~]# id grid
uid=501(grid) gid=501(oinstall) groups=501(oinstall),502(dba),503(asmdba),504(asmoper),505(asmadmin),506(oper)
[root@m3 ~]#
解决方法
m1上
[root@m1 ~]# userdel -r grid
[root@m1 ~]# useradd -g oinstall -G dba,asmdba,asmoper,asmadmin,oper grid
m3 上
passwd grid ----> oracle