-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
agent forwarding fails and leave agent in unresponsive state #362
Comments
This might be related to the changes of #341. Also relevant: using KeeAgent v0.12.1, agent forwarding worked correctly with |
Using the build from https://github.com/dlech/KeeAgent/actions/runs/3198121096, I am experiencing almost the same thing. Clients get stuck waiting between these two debug output lines:
Local is: OpenSSH_for_Windows_8.9p1, LibreSSL 3.4.3 |
It would be helpful if someone could set up a couple docker containers using docker compose to reproduce the problem. See https://github.com/dlech/SshAgentLib/tree/master/docker for a couple of existing ones. |
I've had a look at the existing Dockerfiles. I'm not sure about your expectations: you want a docker-compose file that sets up 2 SSH servers that are on the same network so that we can test |
Yes, if I understand the problem correctly, this seems like the minimum needed to reproduce the issue. |
Do you have something in |
I was finally able to reproduce some issues with the Windows OpenSSH agent using Tabby (#384 ) configured to use Windows OpenSSH (nothing related to agent forwarding but more along the lines of "after a while it stops working"). |
Awesome, thanks @dlech! 🎉 |
As briefly described in #349 (comment), when using v0.13.2, the agent hangs when I use agent forwarding, i.e., I try to open a nested ssh session.
Here's how to reproduce it, assuming a terminal opened on
myhost
:Once I close the hanging terminal on
myhost
, I can again connect to e.g.host1
, but see the same behavior once I try to use agent forwarding (again).Versions:
myhost
OS: Windows 10 21H2myhost
SSH client: OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2myhost
KeePass: 2.51.1myhost
KeeAgent: v0.13.2host1
andhost2
OS: Ubuntu 18.04.5 LTShost1
andhost2
SSH client: OpenSSH_7.6p1 Ubuntu-4ubuntu0.7, OpenSSL 1.0.2n 7 Dec 2017However, I see the same behavior when
host1
andhost2
are up-to-date Kali Linux machines withOpenSSH_9.0p1 Debian-1+b1, OpenSSL 3.0.4 21 Jun 2022
.Below is the output of the command
host1-prompt> ssh -vvv host2
(host1/2
being the Ubuntu 18.04.5/SSH 7.6 ones):Side-note: the pop-up does not correctly show the name of the key. Might be related to the comment not being loaded correctly (#348). The incorrect pop-up is independent of using agent forwarding or not.
Let me know if you need more info. Thanks!
The text was updated successfully, but these errors were encountered: