I am trying to ssh from a Windows 11 PC into my Ubuntu PC over a local network.
I have followed the Microsoft OpenSSH tutorial to install the openssh client on the Windows 11 PC.
The PC with Ubuntu was installed today and has openssh server installed and running.
I am not able to ssh from my Windows 11 PC using openssh to the Ubuntu PC.
I am getting an error when running the below command in Powershell
"ssh -vvv [email protected]
"
OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2
debug3: Failed to open file:C:/Users/Rex/.ssh/config error:2
debug3: Failed to open file:C:/ProgramData/ssh/ssh_config error:2
debug2: resolve_canonicalize: hostname 192.168.x.xxx is address
debug2: ssh_connect_direct
debug1: Connecting to 192.168.x.xxx [192.168.x.xxx] port 22.
debug3: finish_connect - ERROR: async io completed with error: 10060, io:000001C3532E8AE0
debug1: connect to address 192.168.x.xxx port 22: Connection timed out
ssh: connect to host 192.168.x.xxx port 22: Connection timed out
I can connect to the Ubuntu PC via ssh from my Iphone over the network.
I have checked my auth.log file on my Ubuntu machine as has been recommended in the comments.
The logs do not have any information about the unsuccessful ssh attempts from my Windows 11 PC, but when I make a successful ssh connection from my iPhone it is logged.
C:/Users/Rex/.ssh/config
orC:/ProgramData/ssh/ssh_config
. Password authentication or public-key authentication. You should edit your question instead of submitting a comment. After reading your question, 5 times, I am definitely confused by what is working and what isn't working.