Adding SSH 2fa using Google Authenticator breaks the ability to SSH -X into Joinmarket-Qt
davterra opened this issue · 0 comments
davterra commented
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:
- install libpam-google-authenticator
- do: google-authenticator
- answer the resulting questions (the given defaults are fine)
- Add this line to the bottom of your /etc/pam.d/sshd file:
auth required pam_google_authenticator.so - Go to your /etc/ssh/sshd_config file and find the line that says: ChallengeresponseAuthentication no
and change the no to yes. - Restart sshd.
- Test basic ssh and then try to launch Joinmarket-Qt.