Skip to content
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

fix(ssh): force exit when exec command is run on agent less than 0.9.3 #2782

Merged
merged 1 commit into from
May 17, 2023

Conversation

henrybarreto
Copy link
Member

Agent version less than 0.9.3 does not support SSH exec command, what makes some request for it hang foverever. Version great than that, closes correctly and return the status code from the ran command.

ssh/server/handler/ssh.go Outdated Show resolved Hide resolved
Agent version less than 0.9.3 does not support SSH exec command,
what makes some request for it hang foverever. Version great
than that, closes correctly and return the status code from the
ran command.
@henrybarreto henrybarreto force-pushed the fix/ssh_agent_exec_hang_command branch from 022a8b1 to c185283 Compare May 17, 2023 13:57
@gustavosbarreto gustavosbarreto merged commit 9735f60 into master May 17, 2023
8 checks passed
@gustavosbarreto gustavosbarreto deleted the fix/ssh_agent_exec_hang_command branch May 17, 2023 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants