Translated message

A translation of this page exists in English.

NFS マウントされたホームディレクトリーでは、SSH パスワードレスログインが機能しない

Solution In Progress - Updated -

Issue

NFS マウントされたホームディレクトリーでは、SSH パスワードレスログインが機能しません。

  • ユーザーが SSH 鍵を使用してログインできません。SSH がパスワードを要求し続けます。
  • パスワードログインに問題はありません。
  • ユーザーのホームディレクトリー /home は NFS マウントされています。
  • ~/.ssh/authorized_keys には、正しいファイル所有権と権限があるようです。

    # ls -al /home/bob/.ssh
    total 8
    drwx------. 2 bob bob   43 Sep  2 09:48 .
    drwx------. 3 bob bob  113 Sep  2 09:48 ..
    -rw-------. 1 bob bob  407 Sep  2 09:33 authorized_keys
    -r--------. 1 bob bob 1679 Sep  2 09:33 id_rsa
    

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • OpenSSH

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content