Re: pam auth with ssh public key

2023-10-03 Thread jeremy ardley
On 4/10/23 11:12, Kushal Kumaran wrote: Perhaps set AuthenticationMethods to publickey,keyboard-interactive in sshd_config? Do read the full description of that parameter in the manpage for other things that might interest you. I finally managed to get my desired public key and google

Re: pam auth with ssh public key

2023-10-03 Thread Kushal Kumaran
On Wed, Oct 04 2023 at 10:08:14 AM, jeremy ardley wrote: > I have set up a server with sshd allowing public key access. I also > set up google authenticator in pam by putting this line at the head of > /etc/pam.d/sshd > > auth required pam_google_authenticator.so > > If I connect to the server

pam auth with ssh public key

2023-10-03 Thread jeremy ardley
I have set up a server with sshd allowing public key access. I also set up google authenticator in pam by putting this line at the head of /etc/pam.d/sshd auth required pam_google_authenticator.so If I connect to the server without a public key I get the authenticator prompt and then