Close Menu
  • Home
  • Oracle
    • ASM
    • Data Guard
    • RAC
  • Performance
  • Tools
  • Troubleshooting
  • Python
  • Shell Script
Search

Oracle RAC 12.2 on VMware Workstation – Post 3: Grid Infrastructure Installation

2026-04-05 Oracle By Henrique

Oracle RAC 12.2 on VMware Workstation — Post 1: VMware Networking and Openfiler Setup

2026-04-05 Oracle By Henrique

Oracle RAC 12.2 on VMware Workstation – Post 2: Oracle Linux Configuration and iSCSI

2026-04-05 Oracle By Henrique
YouTube LinkedIn RSS
  • About
  • Contact
  • Legal
    • Cookie Policy
    • Disclaimer
    • Privacy Policy
    • Terms of Use
  • RSS
  • English
    • Portuguese (Brazil)
Execute StepExecute Step
YouTube LinkedIn RSS
  • Home
  • Oracle
    • ASM
    • Data Guard
    • RAC
  • Performance
  • Tools
  • Troubleshooting
  • Python
  • Shell Script
Execute StepExecute Step
Home » INS-06006 – Passwordless SSH Connectivity Not Set Up
Troubleshooting

INS-06006 – Passwordless SSH Connectivity Not Set Up

HenriqueBy Henrique2026-02-26Updated:2026-03-047 Mins Read
Share
Facebook Twitter LinkedIn Pinterest Email Telegram WhatsApp

This post is also available in: Português (Portuguese (Brazil))

During an Oracle Grid Infrastructure installation or when adding nodes to an Oracle RAC cluster, you may run into the following error:

This error stops the installer dead in its tracks. It looks straightforward, but it can have multiple root causes — and it’s not always obvious which one is affecting your environment.

In this article, I’ll explain why this error occurs, walk through the most common causes, and provide a hands-on diagnostic checklist with commands you can run directly from the terminal to identify and fix the issue.

💡 In my case: The root cause was the SSH_AUTH_SOCK variable being set in the session, which interfered with the installer’s validation. If you suspect the same scenario, jump to Cause 5 — SSH_AUTH_SOCK. That said, I recommend going through the full checklist — the problem could be a combination of factors.

Why the INS-06006 Error Occurs

The Oracle Universal Installer (OUI) performs remote connectivity checks via SSH and SCP before proceeding with the Grid Infrastructure installation.

The installer needs to verify that:

  • SSH connectivity between all nodes works without a password prompt
  • The ssh and scp commands are accessible in the user’s PATH
  • Hostname resolution is consistent across all nodes
  • Permissions on ~/.ssh are correct
  • No environment variables are interfering with authentication

If any of these checks fail, the OUI aborts with the INS-06006 error.

Common Causes and How to Diagnose Each One

Each cause below includes practical commands to verify and fix the issue.

1. Passwordless SSH Not Configured Correctly

This is the most frequent cause. Passwordless SSH must work bidirectionally between all nodes — including from each node to itself (loopback).

# Run from each node to all others (and to itself)
ssh -o BatchMode=yes -o StrictHostKeyChecking=no node1 hostname
ssh -o BatchMode=yes -o StrictHostKeyChecking=no node2 hostname

If any of these commands prompt for a password or fail, SSH is not configured properly.

Fix:

# Generate SSH key (if it doesn't exist yet)
ssh-keygen -t rsa -b 4096 -N "" -f ~/.ssh/id_rsa

# Copy key to all nodes (including itself)
ssh-copy-id oracle@node1
ssh-copy-id oracle@node2

Or use Oracle’s official setup script:

# Available in the Grid Infrastructure directory
cd $GRID_HOME/deinstall
./sshUserSetup.sh -user oracle -hosts "node1 node2" -noPromptPassphrase

Note: The sshUserSetup.sh script configures SSH across all nodes at once and is Oracle’s recommended method.

2. Incorrect Permissions on the ~/.ssh Directory

SSH is extremely strict about file permissions. If the ~/.ssh directory or its files have overly permissive settings, key-based authentication is silently ignored.

Diagnosis:

ls -la ~ | grep .ssh
ls -la ~/.ssh/

Expected permissions:

File/DirectoryPermission
~/.ssh/700
~/.ssh/authorized_keys600
~/.ssh/id_rsa600
~/.ssh/id_rsa.pub644
User home directory (~)755 or less

Fix:

chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
chmod 600 ~/.ssh/id_rsa
chmod 644 ~/.ssh/id_rsa.pub
chmod 755 ~

Important: The user’s home directory (~) must not have 777 permissions. This causes SSH to silently refuse key-based authentication.

3. Inconsistent Hostnames or Incorrect Name Resolution

The installer compares the hostnames you provided with what the nodes actually resolve to. Any mismatch causes failure.

Diagnosis:

# Check hostname on each node
hostname
hostname -f

# Check /etc/hosts — it should contain all nodes
cat /etc/hosts

Common issues:

  • Hostname with uppercase letters (OUI can be case-sensitive in certain versions)
  • 127.0.0.1 mapped to the actual hostname (it should point to the network IP)
  • Duplicate or conflicting entries

Example of a correct /etc/hosts:

# Loopback
127.0.0.1   localhost localhost.localdomain

# Public
192.168.1.10   node1.example.com   node1
192.168.1.11   node2.example.com   node2

# Private (Interconnect)
10.0.0.10      node1-priv
10.0.0.11      node2-priv

# Virtual IPs
192.168.1.20   node1-vip
192.168.1.21   node2-vip

# SCAN
192.168.1.30   scan-cluster

Warning: The node’s actual hostname must not be on the 127.0.0.1 line. This is one of the sneakiest causes of failure.

4. SSH or SCP Not in PATH

The installer expects to find ssh and scp in the default PATH. In some hardened environments, these binaries may be in non-standard directories.

Diagnosis:

which ssh
which scp

# Verify they're accessible under the oracle user's environment
su - oracle -c "which ssh && which scp"

Expected output:

/usr/bin/ssh
/usr/bin/scp

If they’re not in the PATH, add the following to the oracle user’s .bash_profile:

export PATH=/usr/bin:$PATH

5. SSH_AUTH_SOCK Variable Interference

🔧 Real-world production experience — This was the root cause in my environment. SSH configuration, permissions, and hostnames were all correct. The issue was invisible until I inspected the session’s environment variables.

The SSH_AUTH_SOCK variable activates an SSH agent that can interfere with how the installer validates authentication.

Diagnosis:

echo $SSH_AUTH_SOCK

If it returns a value (e.g., /tmp/ssh-XXXX/agent.1234), the SSH agent is active.

Fix:

unset SSH_AUTH_SOCK

Make sure to apply this on all nodes in the session that will run the installer.

Note: This is not the most common cause, but it can occur in environments where ssh-agent starts automatically with the session (e.g., via .bashrc, .profile, or a desktop manager).

6. Firewall or Network Rules Blocking SSH

In corporate environments with stricter network security, port 22 may be blocked between cluster nodes.

Diagnosis:

# Test connectivity on port 22
nc -zv node2 22

# Or with a timeout
ssh -o ConnectTimeout=5 -o BatchMode=yes node2 hostname

Fix:

Open port 22 (SSH) between all cluster nodes on both the local firewall and the network:

# Check local firewall (firewalld)
sudo firewall-cmd --list-ports
sudo firewall-cmd --permanent --add-port=22/tcp
sudo firewall-cmd --reload

# Or with iptables
sudo iptables -L -n | grep 22

Quick Diagnostic Checklist

Use this checklist as a reference before running the installer:

# 1. Test bidirectional SSH (from each node to all others)
ssh -o BatchMode=yes node1 hostname
ssh -o BatchMode=yes node2 hostname

# 2. Check permissions
ls -la ~/.ssh/

# 3. Check /etc/hosts
cat /etc/hosts

# 4. Check PATH
which ssh && which scp

# 5. Check environment variables
echo $SSH_AUTH_SOCK

# 6. Test port 22
nc -zv node2 22

If all tests pass and the error persists, try running Oracle’s sshUserSetup.sh as a last resort:

cd $GRID_HOME/deinstall
./sshUserSetup.sh -user oracle -hosts "node1 node2" -noPromptPassphrase

Conclusion

The INS-06006 error is a common roadblock during Oracle RAC installation, but it almost always has a straightforward fix. The key is to avoid guessing — instead, work through a systematic diagnosis:

  1. SSH connectivity — does it work passwordless in all directions?
  2. Permissions — are ~/.ssh and its files set correctly?
  3. Name resolution — do hostnames match across all nodes?
  4. PATH — are ssh and scp found?
  5. Environment variables — is SSH_AUTH_SOCK clear?
  6. Network — is port 22 open between nodes?

Once you fix the root cause, re-run the installer — it should proceed normally.


References:

  • Oracle Grid Infrastructure Installation Guide — Configuring SSH on Cluster Nodes
  • MOS Note 1585357.1 — INS-06006 : Passwordless SSH Connectivity Not Set Up Between The Following Nodes
grid-infrastructure ins-06006 oracle-rac passwordless-ssh ssh troubleshooting
Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp
Previous ArticleCleaning the OEM Software Library: Safe Purge and swlib Growth Control
Next Article PRVG-01017 – How to Fix “NTP Configuration File” in Oracle RAC

Related Posts

Oracle

Oracle RAC 12.2 on VMware Workstation – Post 3: Grid Infrastructure Installation

2026-04-05
Read More
Oracle

ORA-01031 — Insufficient Privileges When Creating an IDENTITY Column

2026-04-03
Read More
Oracle

ORA-12547 — TNS:lost contact When Connecting with sqlplus

2026-04-03
Read More
Add A Comment
Leave A Reply Cancel Reply

Demo
Follow Me
  • Email
  • GitHub
  • LinkedIn
  • RSS
  • YouTube

INS-06006 – Passwordless SSH Connectivity Not Set Up

2026-02-2614 Views

ORA-29548 — How to Fix “Java System Class Reported” in Oracle Database

2026-03-0510 Views

PRVG-2002 — How to Fix “Encountered Error in Copying File” in Oracle RAC

2026-03-078 Views
Demo
Tags
alter-sequence asm clusterware create sequence datapatch grid-infrastructure Grid Infrastructure how-to identity-column identity column ins-08101 installation inventory iSCSI lab listener opatch opatchauto Openfiler openssh ora-01031 ORA-12547 ora-12777 orabasetab oracle oracle oracle-database oracle-home oracle-linux oracle-rac Oracle Database Oracle Linux Oracle RAC out-of-place passwordless-ssh patching patching prvg-2002 RAC Installation redo-log runcluvfy scp tns troubleshooting VMware
Execute Step
YouTube LinkedIn RSS
  • Home
  • About
  • Contact
  • RSS
  • English
    • Português (Portuguese (Brazil))
© 2026 ExecuteStep. Designed by ThemeSphere.

Type above and press Enter to search. Press Esc to cancel.

Ad Blocker Enabled!
Ad Blocker Enabled!
Our website is made possible by displaying online advertisements to our visitors. Please support us by disabling your Ad Blocker.