Multifactor authentication: Difference between revisions

no edit summary
No edit summary
Line 118: Line 118:
     ControlPersist 10m
     ControlPersist 10m
</pre>
</pre>
where you would replace <code>HOSTNAME</code> with the host name of the server for which you want this configuration.
where you would replace <code>HOSTNAME</code> with the host name of the server for which you want this configuration.  This settings allows a first ssh session to ask for the first and second factors, but subsequent ssh connections on the same device will reuse the connection of the first session (without asking for authentication), even up to 10 minutes after that first session was disconnected.


<!--T:41-->
<!--T:41-->
If you are using Windows, you can [https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse?tabs=gui install OpenSSH]. Note that you only need the client portion of these instructions.
If you are using Windows, this will only work in the [https://learn.microsoft.com/en-gb/windows/wsl/about  Windows Subsystem for Linux].


== When authenticating to our account portal == <!--T:18-->
== When authenticating to our account portal == <!--T:18-->
cc_staff
150

edits