Using ssh agent for sudo authentication on debian

Using this ubuntu guide with 2 changes. 1. Change the configure line to ./configure –libexecdir=/lib/x86_64-linux-gnu/security/ –with-mantype=man 2. Instead of editing the sudoers file, create a file under sudoers.d (more modular): echo “Defaults env_keep += SSH_AUTH_SOCK” > /etc/sudoers.d/ssh_auth Also note that the latest version of this module on sourceforge is more recent than linked.

Mosh: the mobile shell

The #1 reason you should replace ssh with mosh, if your environment permits: “With Mosh, you can put your laptop to sleep and wake it up later, keeping your connection intact. If your Internet connection drops, Mosh will warn you — but the connection resumes when network service comes back.” via Mosh: the mobile shell.