V
V
Vadim2021-10-26 15:43:14
linux
Vadim, 2021-10-26 15:43:14

Why can't git pick up ssh-agent?

ssh agent is running in a docker container, everything is fine...

$ssh-add -L
2048 SHA256:8ldgrjfgbgfb/gb249hv80nnmc/Culi8o /opt/buildagent/temp/buildTmp/agent6526050056342509962354sshKey (RSA)


but when you do
$ git clone [email protected]:organisation/repo_name.git


coming out
debug1: Host key verification failed
debug1: read_passphrase: can't open /dev/tty: No such device or address


tried chmod 666 /dev/tty - doesn't help

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Mirilaczvili, 2021-10-26
@Viji

Debug with
ssh -Tvv [email protected]
and at the same time check the options in https://serverfault.com/questions/251876/debug1-re...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question