-   Linux - Networking (
-   -   How to ssh to a windows machine from a linux machine ( 08-09-2010 01:00 PM

How to ssh to a windows machine from a linux machine
Hi everybody
I have a query related networking .
I want to know how to connect from a server which is operating on a windows os from a linux machine using ssh
Please help me.
Thanks $ regards
Rahul Sharma

tronayne 08-09-2010 01:18 PM

Install PuTTY on the Windows box; see

bret381 08-09-2010 01:41 PM

PuTTY is a client only for ssh. You will need to install cygwin and openssh or you can install both with copssh

Skaperen 08-09-2010 04:30 PM

No native SSH servers for Windows that allows accessing a DOS command line?

engtmk 08-09-2010 05:30 PM

very easy
you can do it very easy using netcat :)

well it is kinda of workaround but will work all you need is to setup netcat to listen on port 22(ssh port) and make it excute cmd.exe so you are connecting to windows box and having cmd on ssh port.

excute the below command on the windows machine and have fun:


nc -l -p22 -d -e cmd.exe -L
netcat can be found on :

hope this will help you

All times are GMT -5. The time now is 09:22 PM.