Skip to main content
NetApp Knowledge Base

Logging into the clustershell results in "Could not chdir to home directory /var/home/admin"

Views:
359
Visibility:
Public
Votes:
0
Category:
data-ontap-8
Specialty:
CORE
Last Updated:

Applies to

ONTAP

Issue

The following error message is displayed when logging in to the cluster with the admin account:


# ssh admin@10.xx.x.xx
Password:
Could not chdir to home directory /var/home/admin: No such file or directory


The following message might also be observed when logging into the service console:


login: admin
Password:
No home directory.
Logging in with home = "/".

SSH publickey authentication for the admin user account fails and continues to prompt for a password. The following commands and sample outputs show that SSH publickey authentication is enabled for the admin account and a publickey has been installed:

cluster::> security login show -vserver cluster -username admin -application ssh -authmethod publickey

              Vserver: cluster
            User Name: admin
          Application: ssh
Authentication Method: publickey
            Role Name: admin
       Account Locked: -
         Comment Text: -

 

cluster::> security login publickey show -vserver cluster -username admin

Vserver: cluster
UserName: admin            Index: 0
Public Key:
ssh-dss <redacted>
Fingerprint:
<redacted>
Bubblebabble fingerprint:
<redacted>
Comment:
-

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.