this post was submitted on 16 Aug 2024
3 points (80.0% liked)

Debian operating system

2700 readers
2 users here now

Debian is a free operating system (OS) for your computer. An operating system is the set of basic programs and utilities that make your computer run. Debian provides more than a pure OS: it comes with over 59000 packages, precompiled software bundled up in a nice format for easy installation on your machine.

founded 4 years ago
MODERATORS
 

Hello everyone, I am running Debian on my home server and I also do have a raspberrpi with raspberry pi os.

When I do connect to my raspberry via ssh (with keys, not password) I do not need to enter a password when I do run a command with sudo.

Someone here can guie me on how to replicate that behaviour on Debian 12 stable?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 2 months ago

This is for gentoo but I couldn't find a guide for Debian. https://wiki.gentoo.org/wiki/Pam_ssh_agent_auth

When I was a yelp we used this and it was awesome. This is the puppet module we used to install it on Ubuntu, so it might be a good reference for Debian. https://github.com/coxley/puppet-libpam-ssh