This https://askubuntu.com/a/599826/1068251 do not work for ubuntu server 18.04. Ubuntu ask about touching yubikey and repeat again question. I can login only with passphrase.
I found other solution github. https://github.com/carniz/ubuntu-yubikey-setup
Can I try method from github? Is that secure?
Regards