Skip to content
Commit 9528129c authored by Gareth Stockwell's avatar Gareth Stockwell
Browse files

Add support for ssh-agent



This allows GIT over SSH to work, including when using a container
runtime.

* If the user already has an ssh-agent process running (indicated
  by the SSH_AUTH_SOCK environment variable being set), map this socket
  into the container.

* If the user does not have an ssh-agent process running, or wishes to
  expose only a subset of their keys to the container, a new --ssh-agent
  option causes shrinkwrap to start an ssh-agent subprocess, and to add
  specified keys. As above, the socket on which the ssh-agent is
  listening is mapped into the container.

Signed-off-by: Gareth Stockwell's avatarGareth Stockwell <gareth.stockwell@arm.com>
parent dd420c1a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment