“Connection closed by [HOST IP]” using dsa key authentication

前端 未结 6 1800
难免孤独
难免孤独 2021-02-20 15:07

I have a shared /home setup using Perceus Cluster Software (http://perceus.org) for our Cluster. Nodes are using CentOS 6.1 x86_64. /home is shared from the head to the nodes b

6条回答
  •  孤城傲影
    2021-02-20 15:47

    SOLUTION:

    Following the advice below I checked /var/log/security on the node (host). It showed:

    fatal: Access denied for user user by PAM account configuration
    

    I then edited /etc/ssh/sshd_config changing:

    UsePAM yes
    

    to

    UsePAM no
    

    Restarted the node and I can now perform password-less logins.

    Thanks!

提交回复
热议问题