Visit Counter

Wednesday, September 16, 2015

Authentication Refused: Bad Ownership or Modes for Directory /ora/oracle





I trying to install Oracle 12c RAC on Oracle Linux 6.


While configure SSH on both nodes getting error below

# /var/log/secure


Authentication Refused: Bad Ownership or Modes for Directory /ora/oracle



# chown oracle:oinstall /ora
# chown oracle:oinstall /ora/oracle

$ chmod go-w /ora
$ chmod go-w /ora/oracle
$ chmod 700   /ora/oracle/.ssh
$ chmod 600  /ora/oracle/.ssh/authorized_keys


# service ssh restart


$ ssh rac01 date
Thu sep 17 01:56:11 AST 2015
$ssh rac02 date
Thu sep 17 01:56:11 AST 2015


$ ssh rac02 date
Thu sep 17 01:56:11 AST 2015
$ssh rac01 date
Thu sep 17 01:56:11 AST 2015