Skip to main content
NetApp Knowledgebase

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

Views:
68
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:
-

 

CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support