So i've tried to configure 2FA for my ssh server, all when well execept when i need to enter this option to the ssh configuration: ChallengeResponseAuthentication yes, the server doesn't trigger the next step after enter password and it gets a prompt with authentication failed, try again.
I've added it to extra option text box but it seems that i doesn't get registered by the ssh agent even though OMV correctly puts it in the ssh configuration file. if i manually edit the configuration file and change the line from:
ChallengeResponseAuthentication no
to
ChallengeResponseAuthentication yesChallengeResponseAuthentication yes
everything works great.the issue appears only when i use adding ChallengeResponseAuthentication yes from extra options text box from OMV and in this case in the configuration file i have two entries for ChallengeResponseAuthentication
1. ChallengeResponseAuthentication no
2. ChallengeResponseAuthentication yes
I've seen this behavior to be present also on omv 2.0, i'm more inclined to believe that is a bug in the ssh daemon.