Re: need help for setting SSH Server for Windows XP



On Aug 4, 6:46 pm, "Sooner Al [MVP]" <Soone...@xxxxxxxxxxxxxxxxxxxxx>
wrote:
"Sooner Al [MVP]" <Soone...@xxxxxxxxxxxxxxxxxxxxx> wrote in messagenews:E3ECDF5E-9021-480B-AE6D-4C09D9A27031@xxxxxxxxxxxxxxxx



<atomskamra...@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 thehttp://www.canyouseeme.orgsite 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-Vist...

--

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

This page illustrates how to setup a private-public key pair for
PuTTY/WinSCP...

http://theillustratednetwork.mvps.org/Ssh/copSSH-WinSCP-KeyPair.html

I had forgotten you use PuTTY as your client...

--

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 questionhttp://support.microsoft.com/KB/555375

Thanks a lot for your help. Unfortunately I can not try this right
away (I'm not at home).
You are saying that even if putty works with 127.0.0.1 and does not
work with actual IP, it is still ok? I was testing it from the
internet (not from the LAN).
By the way, I'm not behind a firewall.

.



Relevant Pages

  • Re: Trouble accessing Outlook Web Access from behind firewall
    ... When starting the firewall I also set ... > rejected and dropped packets are logged, however I see nothing in my log ... > # Higher ports needed to accept incoming/outgoing calls ...
    (comp.security.firewalls)
  • Re: iptables configuration
    ... >> that if a 'virus/trojan' initiated a connection to the net, the firewall ... >> would not protect the LAN. ... The LAN is NATed with private IPs to one public IP. ... the ports that are used by services running on linux. ...
    (comp.os.linux.security)
  • Re: Norton Personal Firewall 2003
    ... |> First thing I would do is put the GRC test site into the Exclusions ... | ports they will not get the same result being in my blocklist, ... the firewall checks unsolicited inbound communications attempts. ...
    (comp.security.firewalls)
  • Re: How to stealth against ping/echo requests?
    ... I just started using the Online-Armor firewall. ... Some ports are even open. ... Are you behind a router? ... Every time it founds a new LAN, it asks if you want to trust it ...
    (comp.security.firewalls)
  • Re: What is broken:McAfeee firewall or my router ????? Urgent, ple
    ... your computer regardless of what McAfee firewall said. ... If your router is ... warned about those ports being available right away if you had any of those ...
    (microsoft.public.security)