i followed the instructions to install DUO unix to allow 2FA also for loging in via SSH to linux servers.
Now any time i login the push notification appears on the phones of the users.
Is there a way to exclude the SFTP service and SUDO from this ?
I would like to authenticate even with 2FA when i login with SSH to the servers but i want to exclude SFTP and if possible sudo. SFTP would be acceptable if its appearing only one time but it is appearing every time a “save” command is executed.
Or is the approach to create separate users for SFTP service without DUO ?
Thank you for help !