Page 1 of 1

2FA over ssh

Posted: Tue Nov 26, 2019 8:43 pm
by cocoflan
Tested it and works well with the non standard ssh server (dropbear) so openssh server i used. i guess great to make use of!!


https://www.comparitech.com/blog/inform ... ssh-login/

Only i can not get xwin software run from terminal.

Re: 2FA over ssh

Posted: Mon Dec 02, 2019 4:57 am
by WarHawk
Interesting...thanks

Re: 2FA over ssh

Posted: Tue Dec 24, 2019 3:52 pm
by Joulinar
Yep indeed it's working fine with openssh. I guess on dropbear some other files would need to be adjusted to enable google authenticator

Re: 2FA over ssh

Posted: Wed Dec 25, 2019 7:54 pm
by cocoflan
contacted the developers of dropbear, this is what they say about 2FA:


Sorry, there isn't any way to do 2fa, unless you have some PAM module that expects "password-2FApart" combined into one password response.

Cheers,

Re: 2FA over ssh

Posted: Thu Dec 26, 2019 1:30 pm
by Joulinar
Thx for checking. Looks it will not be possible with dropbear, unless they will will support the required PAM modules.

Re: 2FA over ssh

Posted: Mon Dec 30, 2019 5:06 pm
by Joulinar
One thing in addition guys. I checked 2FA together with OpenSSH SFTP. Used WinSCP as Client and YES it was working as well. So a pretty cool thing 8)