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

step ssh proxycommand hangs on shutdown #788

Open
maraino opened this issue Oct 27, 2022 · 0 comments
Open

step ssh proxycommand hangs on shutdown #788

maraino opened this issue Oct 27, 2022 · 0 comments
Labels
bug needs triage Waiting for discussion / prioritization by team
Milestone

Comments

@maraino
Copy link
Collaborator

maraino commented Oct 27, 2022

Discussed in smallstep/certificates#1143

Originally posted by jodygilbert October 26, 2022
I'm using step-cli 0.22.0 on Windows 10 to connect to various Ubuntu servers. The servers are running Ubuntu 18.04 and 20.04.

I've noticed that if I reboot or shutdown the servers the connection hangs, it appears to be indefinitely but I haven't left it for more than a couple of minutes.

If I do this from a Ubuntu client the reboot works fine.

To get around this I've added the following options to the ssh config file, which forces the client to timeout and disconnect:

ServerAliveInterval 15
ServerAliveCountMax 5

I cannot tell if the issue is with the step client or the ssh client, any suggestions greatly appreciated.

@maraino maraino added bug needs triage Waiting for discussion / prioritization by team labels Oct 27, 2022
@maraino maraino added this to the Backlog milestone Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs triage Waiting for discussion / prioritization by team
Projects
None yet
Development

No branches or pull requests

1 participant