I’m trying to run an Open SSH server in Windows 11 but I’m stumbling into an issue with the service. At first, when trying to run the service from services.msc, Open SSH gets stuck in a infinite loop of alterning between running and starting, so it isn’t pretty much starting fully.
I tried executing sshd.exe from Powershell and it’s giving me the following the following logs:
debug1: sshd version OpenSSH_for_Windows_9.5, LibreSSL 3.8.2
debug1: get_passwd: lookup_sid() failed: 1332.
debug1: private host key #0: ssh-rsa SHA256:S3rX/XqJpSBTpAC0+BJ5504eViOQZBgraL/Xy486DUC
debug1: private host key #1: ecdsa-sha2-nistp256 SHA256:1e6aEk6/c+f4r9Vwvxt LSW48NnzTYXc/QpH2werxVEQ debug1: private host key #2: ssh-ed25519 SHA256:Fh3SG1bYEZSPnLrdQ5x7j8SlpG8footUdrx5Mv6@ykQ
debug1: rexec_argv[0]='C:\Program Files\OpenSSH\sshd.exe'
debug1: rexec_argv[1]='-d'
debug1: Bind to port 22 on ::.
Bind to port 22 on :: failed: Permission denied.
debug1: Bind to port 22 on 0.0.0.0.
Bind to port 22 on 0.0.0.0 failed: Permission denied.
Cannot bind any address.
I would like to know how could I fix this issue in order to properly run OpenSSH, I tried searching about how to change permissions for port binding but couldn’t find much for this iOS.
Jordan Alessandro is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.