My Oracle Support Banner

Password Less Ssh From Db Node1 To Any IB Switch still prompting for password (Doc ID 2772715.1)

Last updated on SEPTEMBER 29, 2023

Applies to:

Exadata X7-2 Hardware - Version All Versions and later
Sun Datacenter InfiniBand Switch 36 - Version All Versions and later
Sun Network QDR InfiniBand Gateway Switch - Version All Versions and later
Information in this document applies to any platform.

Symptoms

 

Using the following procedure to configure passwordless ssh from a node to the Infiniband switch, ssh is still prompting for a password:


1. Ensure the node you want to ssh from has public keys in the ~root/.ssh directory.

Logged in as root:
node# cd root/.ssh
node#ls
If the id_rsa.pub exists, your done with this step.

If it doesn't already exist, generate keys as follows only on the nodes you want to be able to loging from passwordless:
IMPORTANT: DON'T use a Passphrase for passwordless ssh!!!!

node# cd /root/.ssh
node# pwd
/root/.ssh
node# ssh-keygen -t rsa

 

2. Copy the Public Keys to the switch

Node# cat /root/.ssh/id_rsa.pub | ssh root@{IP_ADDR_switch} 'cat >> .ssh/authorized_keys'

Changes

 

 The following link on the switch was broken:

# pwd
/root/.ssh

authorized_keys -> /config/conf/ssh/authorized_keys/root

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.