I am unable to ssh into my raspberry pi 3b+ from Windows 10. I was able to up until yesterday evening. Not sure how to troubleshoot at this point. I am able to SSH into the pi from a virtual machine running ubuntu.

I'm able to ping the pi from the windows machine and am able to ping the windows machine from the pi. PuTTY and PowerShell both report Connection timed out when attempting to ssh to the pi.

My pi is at IP and the windows machine is at Running ssh -vvv [email protected] from windows results in the following:

OpenSSH_for_Windows_7.6p1, LibreSSL 2.6.4
debug3: Failed to open file:C:\\Users\\aceda/.ssh/config error:2
debug3: Failed to open file:C:\\ProgramData\\ssh/ssh_config error:2
debug2: resolving "" port 22
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to [] port 22.
debug3: finish_connect - ERROR: async io completed with error: 10060, io:0000025506CC9EC0
debug1: connect to address port 22: Connection timed out
ssh: connect to host port 22: Connection timed out

I searched around for help with the finish_connect - ERROR: async io completed with error: 10060 error above but couldn't find much that helped me.

I'm looking for help on how to determine what is occurring on the pi that is blocking my windows machine from connecting to it.

  • A timeout is usually an indication that a firewall is blocking the connection, or you have the wrong address.
    – RalfFriedl
    Commented Jul 5, 2019 at 17:10
  • My pi is showing that the firewall is inactive. I have verified that I have the correct IP address. I'm also able to ssh into the pi from a virtual machine I have set up. Thanks for the ideas.
    – acedanger
    Commented Jul 5, 2019 at 17:24

1 Answer 1


I finally figure out what the issue was - fail2ban banned my IP.

$ sudo iptables -L f2b-sshd -v -n --line-numbers                                              [13:34:09]
Chain f2b-sshd (1 references)
num   pkts bytes target     prot opt in     out     source               destination         
1       44  2288 REJECT     all  --  *      *            reject-with icmp-port-unreachable

Removing that entries from iptables resolve my issue.

sudo iptables -D f2b-sshd 1 
  • 3
    You should whitelist your local network with ignoreip = in /etc/fail2ban/jail.conf
    – Dougie
    Commented Jul 5, 2019 at 19:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.