メインコンテンツまでスキップ

FIPS が有効になっている場合、公開鍵認証を使用する SSH でパスワードの入力が予期せず求められます

Views:
343
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core<a>2008534458.</a>
Last Updated:

環境

  • ONTAP 9.3以降
  • Federal Information Processing Standard(FIPS;連邦情報処理標準)
  • 公開鍵認証

問題

  • publickeyニンシヨウヲシヨウスルアカウントノパスワードプロンプトガヨクナイ
  • クラスタでFIPSが最近有効になった
  • SSH試行でエラーが報告される(これらは完全な出力から抽出される)

root@linuxhost:/root/.ssh# ssh -vvv admin@cluster01
OpenSSH_8.0p1, OpenSSL 1.1.1k  FIPS 25 Mar 2021
debug2: host key algorithms: ecdsa-sha2-nistp256
debug1: Will attempt key: /root/.ssh/cluster01 RSA SHA256:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX explicit
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>
debug3: input_userauth_banner
Access restricted to authorized users
debug3: receive packet: type 51 ---Packet type 51 indicates SSH user authentication failure   
debug3: remaining preferred: password
debug3: authmethod_is_enabled keyboard-interactive
debug1: Next authentication method: keyboard-interactive

  • ログイン /mroot/etc/log/messages.log

[daemon_xinetd:info:6650] START: ssh pid=97704 from=::ffff:<client_ip> vsid=-1 role=0x20
[auth_sshd:info:97704] mm_answer_pwnamallow: Got passwd creds user (username), homedir (/var/home/username), uid (1008) from FILES
[auth_sshd:error:97704] error: get_socket_address: getnameinfo 4 failed: hostname nor servname provided, or not known
[auth_sshd:info:97704] userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedKeyTypes [preauth]
[auth_sshd:info:97704] Connection closed by <client_ip> port ##### [preauth]
[daemon_xinetd:info:6650] EXIT: ssh status=255 pid=97704 duration=28(sec)

 

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.