linux
2 posts
Letting an agent run commands as root with a throwaway sshd
A short-lived sshd, started by you as the target user, lets an agent run commands as root without a password or a permanent sudo rule. Ctrl-C revokes it.
Working with SSH in Linux and macOS
Generate SSH keys, load them into ssh-agent, set up password-less login, clean up known_hosts and tame your ~/.ssh/config on Linux and macOS.