SDDC Upgrade Prechecks fails "The files /home/vcf/.ssh,/home/vcf/.ssh/known_hosts does not have the required permissions."
search cancel

SDDC Upgrade Prechecks fails "The files /home/vcf/.ssh,/home/vcf/.ssh/known_hosts does not have the required permissions."

book

Article ID: 379574

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

SDDC Precheck workflow fails on "/home/vcf/.ssh" and "," on/home/vcf/.ssh/known_hosts

Environment

VMware SDDC Manager 5.x
VMware SDDC Manager 4.x

Cause

Most likely the permissions on /home/vcf are incorrect 
# ls -larthd /home/vcf
# drwxr-x---  9 vcf      vcf     <= as it should be 

What was observed 
# ls -larthd /home/vcf
#
drwx------ 13 vcf      vcf

 

 

Resolution

To resolve the issue reapply the correct permissions for "/home/vcf" as follows

  1. IMPORTANT: Ensure that a fresh snapshot has been taken before implementing.

  2. Change permissions

    # chown vcf:vcf /home/vcf

    # chmod 750 //home/vcf

  3. Reattempt the precheck


Additional Information

IMPORTANT - Workaround from https://knowledge.broadcom.com/external/article?articleNumber=377808 will not work.
Although permissions are the main issue here, this issue is referencing other files/ paths.