Multifactor authentication: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 116: Line 116:
Success. Logging you in...}}
Success. Logging you in...}}


=== Configuring your SSH client with ControlMaster, to only ask every so often (Linux and MacOS)=== <!--T:17-->
=== Configuring your SSH client with ControlMaster === <!--T:17-->
 
==== Linux and MacOS ==== <!--T:18-->
If you use OpenSSH to connect, you can reduce how frequently you are asked for a second factor. To do so, edit your <code>.ssh/config</code> to add the lines:
If you use OpenSSH to connect, you can reduce how frequently you are asked for a second factor. To do so, edit your <code>.ssh/config</code> to add the lines:


Line 131: Line 133:
Note that the above ControlMaster mechanism (a.k.a. Multiplexing) doesn't work with native Windows, in which case [https://learn.microsoft.com/en-gb/windows/wsl/about Windows Subsystem for Linux] will be required. [https://docs.alliancecan.ca/wiki/Configuring_WSL_as_a_ControlMaster_relay_server See the link below].
Note that the above ControlMaster mechanism (a.k.a. Multiplexing) doesn't work with native Windows, in which case [https://learn.microsoft.com/en-gb/windows/wsl/about Windows Subsystem for Linux] will be required. [https://docs.alliancecan.ca/wiki/Configuring_WSL_as_a_ControlMaster_relay_server See the link below].


=== [[Configuring WSL as a ControlMaster relay server]] (Windows) === <!--T:67-->
====Windows ==== <!--T:67-->
Disclaimer: This is still an experimental procedure. Your feedback is welcome.


<!--T:68-->
See [[Configuring WSL as a ControlMaster relay server]].
With this procedure you can leverage ControlMaster under WSL so you may login to the clusters with several apps under native Windows for a certain period without having to do MFA for every session.


== When authenticating to our account portal == <!--T:18-->
== When authenticating to our account portal == <!--T:18-->
rsnt_translations
56,420

edits