Page 1 of 1

[SOLVED] OpenSSH client fails while server works.

PostPosted: Sep 10th, '12, 17:53
by wilfe
When i try to login with ssh from another machine (both running mageia) i get: "ssh: connect to host MYHOSTNAME port 22: Connection refused".
So at first i thought there was a problem with the ssh server, so i tried logging by surfing to http://webssh.uni.me/ and that works perfectly.
Is there a known problem with the ssh-client (I am running it as "ssh MYUSERNAME@MYHOSTNAME") ?

Re: OpenSSH client fails while server works.

PostPosted: Sep 10th, '12, 18:09
by tom_
have you checked if MYHOSTNAME's firewall doesn't stop incoming connections on port 22?

Re: OpenSSH client fails while server works.

PostPosted: Sep 10th, '12, 18:13
by wilfe
whoops... that was idd sort of the problem, the firewall on the host running the client was blocking all packets to the host running the server, this also explains why it worked from internet.