Re: need help for setting SSH Server for Windows XP



<atomskamravka@xxxxxxxxx> wrote in message news:1186244327.586677.130950@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,

I'm trying to set up SSH Server on my Windows XP (SP2).
I've tried openssh and cygwin with no results.
Everything goes smoothly with the installation.
I can even connect with Putty using 127.0.0.1 as IP address.
But when I try to connect to my actual IP (158.64.X.X) I get error
message "Connection time out".
In my windows firewall proper ports are opened (22,443,80). I even
tried with turning off my firewall.
Changing from port 22 to ports 80, 443 also doesn't give any results.
Any clues?

Thank you


To use SSH you only need TCP Port 22 (or whatever port you configure the sshd_config file for) forwarded on your router and any firewall to the static LAN IP of the server PC. This includes the Windows Firewall. You do *NOT* need TCP Port 80 or 443 open in order to use SSH. Close any unneeded ports as a security precaution.

To test from another PC on your local LAN use the LAN IP of the SSH server. It is *NOT* a valid test to call the SSH server PC from another local PC using the public IP of the router. This illustration (written for a VPN test) shows this...

http://theillustratednetwork.mvps.org/Vista/PPTP/BasicVPNTest.html

You can test port forwarding through your router and any software firewall by going to the http://www.canyouseeme.org site using IE on the SSH server PC. If the test fails make sure the router and any software firewall are configured correctly.

Remember if you change the SSH listening port in the sshd_config file you will need to restart the SSH service on the SSH server PC. See the last part of this page for help...

http://theillustratednetwork.mvps.org/Ssh/SecureYourcopSSHServer-Vista.html

--

Al Jarvi (MS-MVP Windows Networking)

Please post *ALL* questions and replies to the news group for the
mutual benefit of all of us...
The MS-MVP Program - http://mvp.support.microsoft.com
This posting is provided "AS IS" with no warranties, and confers no
rights...
How to ask a question
http://support.microsoft.com/KB/555375

.



Relevant Pages

  • Re: need help for setting SSH Server for Windows XP
    ... >> In my windows firewall proper ports are opened. ... > To use SSH you only need TCP Port 22 (or whatever port you configure> the ... It is *NOT* a valid test to call the SSH server PC from another ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: need help for setting SSH Server for Windows XP
    ... In my windows firewall proper ports are opened. ... To use SSH you only need TCP Port 22 forwarded on your router and any firewall to the static LAN IP of the server PC. ... To test from another PC on your local LAN use the LAN IP of the SSH server. ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: sendmail log question?
    ... it was the latest FC8 update. ... kiddiez and 'bots that know that SSH servers only exist on port 22. ... firewall to temporarily open some other port (where the SSH server is ... This is much less common today, ...
    (comp.mail.sendmail)
  • Re: Remote Control PC behind broadband router?
    ... You could run the SSH server on the XP box or some LINUX ... Otherwise you can also port forward more than one port through your router ... you really need to check with your office network ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: SSHD: Limit login attempt rate
    ... to only allow three authentication attempts per connection, ... sure of is that you must only run an SSH server on port 22. ... connection attempts, and can then open what-ever port you have hidden ...
    (comp.os.linux.networking)