Our servers are behind a proxy that requires two factor authenticatio. I managed to get through the authentication process yet was wondering, is there a way of authenticating only once and not for each different connection?
Tramp could cache passwords. See variable
password-cache-expiry. Its default value expires cached passwords after 16 seconds.
auth-source.el properly. For example, add respective entries to
Read the Tramp manual, section "Password handling", for more details.