Skip to content
random thoughts
  • Posts
  • Tags
  • About

Tags

ssh

2 posts

  • Nov 12, 2026

    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.

  • Dec 22, 2022

    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.

© 2026 Riad Afridi Shibly

RSS Built with Hugo