Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Encountering a strange problem on my Ubuntu machine, trying connecting to (example ip)

via SSH fails.

When trying to connect from other win machine its works.

I don't have a firewall on the machine and i can ping and get success response

Trying to ssh (using -vvv) to it get a connection timeout response.

Running the command :

nc -v -w 1 -z 22

returns :

nc: connect to port 22 (tcp) timed out: Operation now in progress

Running nc command from my working win machine :

C:\nc>nc -v -w 1 XXXXXXXXX  -z 22
DNS fwd/rev mismatch: XXXXXXXXX != 289472-XXXXXXXXX
XXXXXXXXX [] 22 (ssh): open

Any ideas what can point to my problem ?

share|improve this question
How do you connect from the win machine? Ssh with putty or similar or another method? Are you sure you connect to port 22? –  terdon Oct 1 '13 at 15:48
and that nc command from the win machine? –  barlop Oct 1 '13 at 17:14
from win machine im using putty to connect or winScp and using port 22 –  Nimrod007 Oct 2 '13 at 9:26
add nc command out put from win machine to question , thanks –  Nimrod007 Oct 2 '13 at 9:37
Have you seen this Web page? ubuntuforums.org/showthread.php?t=1544440 –  MariusMatutiae Oct 2 '13 at 14:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.