This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; ssh-keys.el | |
;; While keeping long standing emacs sessions on remote machines | |
;; inside terminal multiplexers such as 'screen' and 'tmux', the | |
;; SSH_AUTH_SOCK environment variable of the emacs process becomes | |
;; stale after disconnection and reconnection. The interactive | |
;; function SET-SSH-AGENT-SOCKET below allows for a quick and dirty | |
;; way to automatically reset this variable to the latest incoming SSH | |
;; agent authorization socket. |