LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How to ssh to a windows machine from a linux machine (https://www.linuxquestions.org/questions/linux-networking-3/how-to-ssh-to-a-windows-machine-from-a-linux-machine-825112/)

crahuldba@gmail.com 08-09-2010 12: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 12:18 PM

Install PuTTY on the Windows box; see http://www.chiark.greenend.org.uk/~sgtatham/putty.

bret381 08-09-2010 12: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 03:30 PM

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

engtmk 08-09-2010 04: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:

Code:

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

http://netsecure.alcpress.com/netcat/

hope this will help you


All times are GMT -5. The time now is 01:23 AM.