When using ssh agent forwarding via tsh (tsh ssh -A node
), existing credentials in the local ssh agent does not seem to be forwarded to the node.
$ ssh-add -L
ssh-rsa-cert-v01@openssh.com [snip a] teleport:user
ssh-rsa [snip b] teleport:user
ssh-rsa [snip c] /home/user/.ssh/id_rsa
$ tsa ssh -A node ssh-add -L
ssh-rsa-cert-v01@openssh.com [snip a] teleport:user
ssh-rsa [snip b] teleport:user
$ tsh version
Teleport v4.2.2 git:v4.2.2-0-gb06a05d2 go1.13.2
$ tsh ssh node teleport version
Teleport v4.2.2 git:v4.2.2-0-gb06a05d2 go1.13.2
Is this an expected behavior, or is there an issue with my configuration?