Tess Gauthier
Tess Gauthier
@Chao216 did you verify the firewall rules to ensure `sshd` can accept incoming connections on public networks?
> Hi @tgauth, > > A weird thing is that i found on some Old os, install open ssh server will automatically add a firewall inbound rule allow port 22...
@aragon5956 - can you provide `sshd` logs from the connection attempt via public ip?
@aragon5956, can you run the following in PowerShell to confirm the network firewall rule(s) for sshd: `Get-NetFirewallApplicationFilter -Program "*sshd*" | Get-NetFirewallRule` The profile field for the sshd rule must include...
> could you help me ? can you fix this issue , Can you capture more logs in the next version?  Based on the recordings, it looks like the...
Can you try applying the same timeout from https://github.com/PowerShell/openssh-portable/pull/763/files to where this hang is occurring in https://github.com/PowerShell/openssh-portable/blob/b89ee6aa372f03fd10ae13e5af23b44be4456c79/contrib/win32/win32compat/fileio.c#L1089-L1103? Would need to change `INFINITE` to `1000` to timeout after a second instead...
Are you still facing this issue? Can provide the full debug logs from both the ssh client and server? https://github.com/PowerShell/Win32-OpenSSH/wiki/Troubleshooting-Steps has info on collecting the logs.
are there any network or firewall rules preventing inbound traffic on port 22?
can you provide the SSHD logs?
please see https://github.com/PowerShell/Win32-OpenSSH/wiki/Troubleshooting-Steps for info on how to collect the logs