after installing Openssh, I can access to the ubuntu's cmd using ssh from and a linux OS or a windows (using putty) and not only locally but using a wan address(public).
My question is : what should i do to access the windows's cmd from an other windows's cmd not locally but with a wan address (public) using ssh ?
I now that i can use telnet but here i want to use SSH.

Here's what a have :
- I installed a software from noip.com that will give my computer's ip a name even if it is a dynamic ip.
- And obviously when i tape the http://mycomputer-hostname.com (which refers to my computer) in putty from an other computer through internet not locally, i got a popup window says login and password and when i enter those two, putty login into the router's cmd. i understand that i need to install something equivalent to Openssh but it's not supported on windows.


Though Microsoft does not currently provide SSH server software for its Windows operating system, there are quite a few commercial SSH server packages available for Windows and there is also free SSH server software, some of which does rely on a Windows implementation of OpenSSH. Some companies that provide commercial versions will allow you to use their software for free for noncommercial use. Some free versions that I've used:

Bitvise SSH Server - free for personal use

Copssh - the name is from "Cygwin" + "OpenSSH"


OpenSSH for Windows - the software hasn't been updated since, 2004. I found it worked well on Windows XP systems, but I've experiencd problems with it on later versions of Windows and I wouldn't recommend it.

PowerShell SSH Server for Windows - the Personal Edition is free; it limits you to one SSH connection to the server at a time.

SilverSHield - free for personal use version limited to one concurrent SSH connection

Alternatively, you can install Cygwin, which provides a Unix-like environment and command-line interface for Microsoft Windows, and then install OpenSSH server software for Cygwin.

Microsoft has has announced that it intends to provide SSH server software for its Windows operating systems, e.g., see the June 2, 2015 Ars Technica article Microsoft bringing SSH to Windows and PowerShell, but it may be awhile before that software is available.

After you've installed SSH server software on the Microsoft Windows system, if you have host-based firewall software on the system, such as Microsoft's firewall software or firewall software that may be part of an antivirus program, you may need to set up an appropriate firewall rule to allow inbound connections for the SSH server, either allowing inbound traffic to the SSH server application or to TCP port 22, if you use the standard port. You may also need to set up an appropriate firewall rule and/or port forwarding on a router/firewall you have in front of the Microsoft Windows system.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.