Unable to get passwordless ssh working
search cancel

Unable to get passwordless ssh working

book

Article ID: 199757

calendar_today

Updated On:

Products

CA Infrastructure Management CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

I am unable to get passwordless ssh working after following the steps within the documentation

Environment

Release : 20.2

Component : IM Reporting / Admin / Configuration

Cause

The user's .ssh directory and authorized_keys file are not using the proper permissions.

Resolution

Update the permissions as follows:

1. Set the .ssh directory to reflect 700 permissions:

chmod 700 ~/.ssh

2. Set the authorized_keys file to 600 permissions

chmod 600 ~/.ssh/authorized_keys