Skip to content

step ssh proxycommand hangs on shutdown #788

Open

Description

@maraino

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.

Activity

  1. added this to the Backlog milestone on Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds triageWaiting for discussion / prioritization by team

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions