LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-09-2010, 12:00 PM   #1
crahuldba@gmail.com
Member
 
Registered: Apr 2010
Posts: 52

Rep: Reputation: 2
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
 
Old 08-09-2010, 12:18 PM   #2
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Install PuTTY on the Windows box; see http://www.chiark.greenend.org.uk/~sgtatham/putty.
 
Old 08-09-2010, 12:41 PM   #3
bret381
Member
 
Registered: Nov 2009
Location: Alabama
Distribution: Arch x86_64
Posts: 650

Rep: Reputation: 79
PuTTY is a client only for ssh. You will need to install cygwin and openssh or you can install both with copssh
 
Old 08-09-2010, 03:30 PM   #4
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
No native SSH servers for Windows that allows accessing a DOS command line?
 
Old 08-09-2010, 04:30 PM   #5
engtmk
LQ Newbie
 
Registered: Aug 2010
Location: Egypt
Distribution: Cetnos
Posts: 9

Rep: Reputation: 1
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Restarting Windows machine stops Linux machine mounting/connecting jamespetts Linux - Networking 3 05-29-2008 03:12 AM
how to ssh into windows machine from Linux box chaitanya_ralegaonka General 3 09-04-2007 12:09 PM
SSH forward from a Windows machine to a Linux machine isn't working nickj6282 Linux - Networking 3 08-13-2006 02:47 PM
how to watch linux client machine desktop(activities) from windows machine deepak rawat Linux - Networking 7 07-03-2006 04:59 PM
ssh connection from a Windows machine to a Linux machine pistachio Linux - Networking 1 08-30-2005 10:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration