Skip to content

SSH Agent Forwarding #3

@allamiro

Description

@allamiro

Problem to solve

Instead of copying SSH keys into the image (a major security risk), configure your docker-compose.yml to mount the SSH socket.

volumes:
  - $SSH_AUTH_SOCK:/run/host-services/ssh-auth.sock
environment:
  - SSH_AUTH_SOCK=/run/host-services/ssh-auth.sock
  

Proposed solution

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions