I recently added Google Authenticator as an SSH 2fa means. It works great for SSH-ing in as "admin" but since doing so, I am not able to launch the Joinmarket-Qt GUI using the advised "ssh -X ....." command given in the Joininbox menu.
Steps to replicate:
1) install libpam-google-authenticator
2) do: google-authenticator
3) answer the resulting questions (the given defaults are fine)
4) Add this line to the bottom of your /etc/pam.d/sshd file:
auth required pam_google_authenticator.so
5) Go to your /etc/ssh/sshd_config file and find the line that says: ChallengeresponseAuthentication no
and change the no to yes.
6) Restart sshd.
7) Test basic ssh and then try to launch Joinmarket-Qt.
I recently added Google Authenticator as an SSH 2fa means. It works great for SSH-ing in as "admin" but since doing so, I am not able to launch the Joinmarket-Qt GUI using the advised "ssh -X ....." command given in the Joininbox menu.
Steps to replicate:
1) install libpam-google-authenticator 2) do: google-authenticator 3) answer the resulting questions (the given defaults are fine) 4) Add this line to the bottom of your /etc/pam.d/sshd file: auth required pam_google_authenticator.so 5) Go to your /etc/ssh/sshd_config file and find the line that says: ChallengeresponseAuthentication no and change the no to yes. 6) Restart sshd. 7) Test basic ssh and then try to launch Joinmarket-Qt.