[SOLVED] OpenSSH client fails while server works.

[SOLVED] OpenSSH client fails while server works.

Postby wilfe » Sep 10th, '12, 17:53

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") ?
Last edited by wilfe on Sep 10th, '12, 18:13, edited 1 time in total.
wilfe
 
Posts: 2
Joined: Sep 10th, '12, 17:45

Re: OpenSSH client fails while server works.

Postby tom_ » Sep 10th, '12, 18:09

have you checked if MYHOSTNAME's firewall doesn't stop incoming connections on port 22?
tom_
 
Posts: 423
Joined: Sep 3rd, '11, 12:26
Location: Porto Ercole, Italy

Re: OpenSSH client fails while server works.

Postby wilfe » Sep 10th, '12, 18:13

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.
wilfe
 
Posts: 2
Joined: Sep 10th, '12, 17:45


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest