which ssh-agent just returns ssh-agent not found and it is not in /usr/local/bin/ssh-agent
which ssh-agent
ssh-agent not found
/usr/local/bin/ssh-agent
you need to install the openssh-client package: apk add --no-cache openssh-client
openssh-client
apk add --no-cache openssh-client
Most helpful comment
you need to install the
openssh-clientpackage:apk add --no-cache openssh-client