Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Can't connect to gentoo with putty on winXP
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Nossie
Apprentice
Apprentice


Joined: 19 Apr 2002
Posts: 181

PostPosted: Wed Oct 22, 2008 8:03 am    Post subject: [Solved] Can't connect to gentoo with putty on winXP Reply with quote

This is more of a windows question than a gentoo question because the gentoo side is working fine.

I have several gentoo boxes i manage, and i use putty to connect to them via ssh. I had to re-install my winxp box because it had some problems, i downloaded putty (version 0.60) and now i can't connect to any ssh enabled machine.
When i try to connect i get the error "Connection refused". I can connect just fine with other machines so sshd is running on the server(s).

I tried disabling the windows firewall, i tried using zone-alarm instead of the windows firewall, all without success. For some reason windows won't allow outgoing connections on port 22.
Since it doesn't work with the firewalls disabled, I have no idea where to look for a solution (except this forum of course ;))

I connect to the internet via a cable modem, but since it has worked before the re-install, i don't thing that has anything to do with it. It must be some weird windows thing...

Any help would be appreciated.


Last edited by Nossie on Wed Oct 22, 2008 3:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
lesourbe
l33t
l33t


Joined: 24 Nov 2005
Posts: 710
Location: Champagne !

PostPosted: Wed Oct 22, 2008 9:12 am    Post subject: Reply with quote

does nmap show an open port 22 ?
_________________
Is that a banhammer ?
LeSourbe, Member of EPowerforce.
Back to top
View user's profile Send private message
Nossie
Apprentice
Apprentice


Joined: 19 Apr 2002
Posts: 181

PostPosted: Wed Oct 22, 2008 9:39 am    Post subject: Reply with quote

The server is configured just fine, i can connect to it from another computer.
The client (win XP) doesn't have to have port 22 open for incoming packets to be able to use a ssh client afaik.
Back to top
View user's profile Send private message
lesourbe
l33t
l33t


Joined: 24 Nov 2005
Posts: 710
Location: Champagne !

PostPosted: Wed Oct 22, 2008 9:49 am    Post subject: Reply with quote

Nossie wrote:
The server is configured just fine, i can connect to it from another computer.
The client (win XP) doesn't have to have port 22 open for incoming packets to be able to use a ssh client afaik.


well, I think you did not understand what I meant.
does nmap FROM THE CLIENT shows an opent port 22 on your gentoo box ?
_________________
Is that a banhammer ?
LeSourbe, Member of EPowerforce.
Back to top
View user's profile Send private message
Nossie
Apprentice
Apprentice


Joined: 19 Apr 2002
Posts: 181

PostPosted: Wed Oct 22, 2008 10:05 am    Post subject: Reply with quote

I'll try when i get home. But i assume it will show up as either filtered or closed :?
Back to top
View user's profile Send private message
Nossie
Apprentice
Apprentice


Joined: 19 Apr 2002
Posts: 181

PostPosted: Wed Oct 22, 2008 3:35 pm    Post subject: Reply with quote

Ok... I found the problem... And as usual it was easy to solve and completely my own fault :oops:

It seems I had configured the sshd of the box i was trying to connect to on port 443 (so i can connect to it through a proxy server), and disabled port 22.
I did this years ago, and i forgot about it because i always connect to it from the same box, with pre-configured settings...

I'm gonna hide away in shame now :roll:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum