github.com/containers/podman/v5@v5.1.0-rc1/docs/source/markdown/options/ssh.md (about)

     1  ####> This option file is used in:
     2  ####>   podman build, farm build
     3  ####> If file is edited, make sure the changes
     4  ####> are applicable to all of those.
     5  #### **--ssh**=*default* | *id[=socket>*
     6  
     7  SSH agent socket or keys to expose to the build.
     8  The socket path can be left empty to use the value of `default=$SSH_AUTH_SOCK`
     9  
    10  To later use the ssh agent, use the --mount option in a `RUN` instruction within a `Containerfile`:
    11  
    12  `RUN --mount=type=ssh,id=id mycmd`