Skip to content

SSH_AUTH_SOCK while building #684

Answered by jandubois
rjcortese asked this question in Q&A
Discussion options

You must be logged in to vote

Did you set ssh.forwardAgent to true in your lima.yaml?

ssh:
  forwardAgent: true

See

ssh:
# A localhost port of the host. Forwarded to port 22 of the guest.
# Default: 0 (automatically assigned to a free port)
localPort: 0
# Load ~/.ssh/*.pub in addition to $LIMA_HOME/_config/user.pub .
# This option is useful when you want to use other SSH-based
# applications such as rsync with the Lima instance.
# If you have an insecure key under ~/.ssh, do not use this option.
# Default: true
loadDotSSHPubKeys: null
# Forward ssh agent into the instance.
# Default: false
f…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rjcortese
Comment options

Answer selected by rjcortese
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #683 on March 01, 2022 05:54.