1

I have ssh configured for my system. It was working perfectly but now I'm able to ssh or sc to other systems but other systems are not able to ssh or scp to my system it shows connection timed out error. Please Help.

5
  • What message do you get when you run ssh Jul 3, 2013 at 11:57
  • I am able to ssh when I do so it asks me for password and Im able to login but others are not it gives them error connection timed out.
    – Tarun
    Jul 3, 2013 at 11:58
  • Firewall? What's the output of sudo iptables -L -nv? Jul 3, 2013 at 12:03
  • I looked into iptables using iptables -L I have updated the output above I think its got to do something with iptables.
    – Tarun
    Jul 3, 2013 at 12:09
  • @Eric: Updated the output for iptables -L -nv
    – Tarun
    Jul 3, 2013 at 12:15

1 Answer 1

4

UFW is blocking incoming connections to port 22. Run this to allow it:

sudo ufw allow 22/tcp
0

Not the answer you're looking for? Browse other questions tagged .