Skip to main content
NetApp Knowledge Base

Systemshell prompting for password on one of the node

Views:
79
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

Applies to

  • AFF-A250
  • Ontap 9.16.1P7

Issue

  • When attempting to run commands using systemshell, one of the nodes is prompted for a password.
Cluster1::*> set diag
Cluster1::*> systemshell -node Node3 "sudo ps -auxxx | grep ntpd | grep -v grep"
  (system node systemshell)
diag@169.254.132.80's password:
 root 57852    0.0  0.1  19008  19100         -  Ss   27Dec25       0:39.68 /usr/sbin/ntpd -n -c /var/etc/ntp.conf -g -p /var/run/ntpd.pid

Cluster1::*> systemshell -node Node4 "sudo ps -auxxx | grep ntpd | grep -v grep"
  (system node systemshell)
root  17666    0.0  0.1  19008  19100         -  Ss   27Dec25       0:42.08 /usr/sbin/ntpd -n -c /var/etc/ntp.conf -g -p /var/run/ntpd.pid

  • Comparing the contents of the authorized_keys file on both nodes shows differences.
NODE 3:
cat /var/home/diag/.ssh-systemshell/authorized_keysssh-rsa AAAAB3NzaC1yc2Ecefsfdsfdf+9XCteLQlsNxVZj/Y6AEuBQzR4d2M6xmOGnvsTl4tUjgwmLnAeHEG493QT3fdfsdfsdfdsfAxVCyfgUDWS9Z8iExFgjtX13zIatcEMY8WwnlGpM4kQuCBat4RdUUNd9dRsj+P7CCs+K3q/uaVg9Zg8FMBLmq6UgyobaJjvbw9EpK2VjvgiunLZLgBzRTkG3kmqZZJQSb7obaa+imUS3pnhwxUMNUPrZ/5Q4ANathUYs3gjBowwKJLfdJgNX1oS6xMOCgzDaQadsJDOQoFJUOwaZE+qDmroKTzgNXdB9UK+L7MUebTc/wTobcd2usjROF40QPkZ4qlFktewIKLFFupGLnTskUoMnAVywgoY5UGA/Akylddz/KFtOvMx4rZRcMGxbzZBhJPozSAzvzbtrRYdjn+TDlqzO5NezT0= root@Node3ecdsa-sha2-nistp256 AAAAB3NzaC1yc2Ecefsfdsfdf+9XCteLQlsNxVZj/Y6AEuBQzR4d2M6xmOdgwmLnAeHEG493QT3fdfsdfsdfdsfAxVCyfgUDWfdfdfdfdfDPF73Q6BevvI4/jHPFGLwfZ30jFp0lfSCDM7gJVxtOj/dhZhhg/A1J80nIz/galjkAM4MRd5tYr4= root@Node3

NODE 4:
cat /var/home/diag/.ssh-systemshell/authorized_keys
ssh-rsa AAAAB3NzaC1yc2EAAAAdfdfdfdfVb9eldc2YKtQL+rA9Ts+4Mq/DkRDBKKRKdXZKX6hMSw0C0tx0aRZas5MAFu3bowGPFIuszaWzM9QOsd6YHGzYdfdfdff39BOCTlQ1AyPQAXmpZIqXdPljFgy+u8551UwpCpKkcSHsS2EPthHZqsOyRh/AlUvKavbhVGyG6cNP1U0HItHlNLZWbejeJWPRu+oHMwo0rrfoc/K96VHEgKVSf8y+DAkeg35Lpw7kN6sLe/YGILz5J4a2T90PxWXcIpwnSdyYglsY9SnQlh1uW3ihR9lEyOhfYJoAt9Gz/Ud9cTaxhy59PJPE3qOb5pa70vNr7zbc3 root@Node4

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.