Hacker News new | ask | show | jobs
by 0x0 2272 days ago
Have you tried running ssh in lldb/gdb and dumping a stacktrace when it hangs? Might have to copy the ssh binary to a temp dir to avoid SIP denying ptrace.
1 comments

Doesn't even need to go this hardcore; simply reading the verbose output would show where things are getting stuck.
The verbose output didn't seem to point out the exact system call or libc call that got stuck. A lldb/gdb bt stacktrace could pinpoint what's hanging (for example, some people mentioned parsing /etc/services). I don't think this has been resolved yet?