Jump to content

Command Crate ¿about?

Enable PubkeyAuthentication in SSH config (podman)

podman exec "$client_name" sed -i '/^#\?PubkeyAuthentication /c\PubkeyAuthentication yes' /etc/ssh/sshd_config

Modifies the SSH configuration inside a podman container to enable public key authentication.

containers [kb:196]