4 Replies Latest reply: Nov 18, 2008 3:56 PM by Tommyreynolds-Oracle RSS

    SSH still prompting for password after authorized_keys have been set

    595789
      Hello,

      Configuration;

      OEL5
      2 nodes

      I have done the following;

      su - oracle
      mkdir ~/.ssh
      chmod 700 ~/.ssh
      /usr/bin/ssh-keygen -t rsa # Accept the default settings.
      exit

      su - oracle
      cd ~/.ssh
      cat id_rsa.pub >> authorized_keys
      scp authorized_keys rac2:/home/oracle/.ssh/
      exit

      su - oracle
      cd ~/.ssh
      cat id_rsa.pub >> authorized_keys
      scp authorized_keys rac1:/home/oracle/.ssh/
      exit

      su - oracle
      ssh rac1 date
      ssh rac2 date
      ssh rac1.localdomain date
      ssh rac2.localdomain date
      exec /usr/bin/ssh-agent $SHELL
      /usr/bin/ssh-add

      Also made the following in my /etc/ssh/ssh_config on both nodes then restarted

      RSAAuthentication yes
      PubkeyAuthentication yes


      when I execute
      ssh rac1 date
      I am still being prompted for the password

      This is making my install of Clusterware (pre-install check) fail with error;
      "user equivalence check failed for user "oracle""

      Can anyone give me an idea of the next step to make it no longer prompt for a password?

      thanks,
      Steve