Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2019 22:21:19 +1000
From:      MJ <mjose00@optusnet.com.au>
To:        Aryeh Friedman <aryeh.friedman@gmail.com>, FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: OT: My ssh authorized_keys doesn't work with nfs/nis
Message-ID:  <5bd0de7e-cf45-36bc-f428-2db37e76b5b9@optusnet.com.au>
In-Reply-To: <CAGBxaXkVQNE6deyWs9JXh9vqmKz8tLc9HfqC8ZmBLrK2jv7p3A@mail.gmail.com>
References:  <CAGBxaXkVQNE6deyWs9JXh9vqmKz8tLc9HfqC8ZmBLrK2jv7p3A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On 14/09/2019 5:39 pm, Aryeh Friedman wrote:
> My ~/.ssh/authorized_keys files works fine on a machine that is not in my
> NIS domain but when I copy my id_rsa.pub (which is what I did to create the
> non-NIS authorized_keys) to my NIS account and give it the same permissions
> as the working machine it insists on asking for a password.
> 
> ssh faraway (non-NIS machine)
> does not ask for a password
> but
> ssh nearby (NIS machine) does


Try ssh -vvv. See if that informs you more.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5bd0de7e-cf45-36bc-f428-2db37e76b5b9>