Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I can connect to Linux machines from Windows using PuTTY/SSH. I want to do the other way round - connect to a Windows machine from Linux.

Is this possible?

share|improve this question
Why would you want to mar the purity of a Linux machine by making it commune with a (shudder) Windows one? :P – Manishearth Mar 25 '12 at 3:17

It depends on how you want to connect. You can create shares on the Windows machine and use smb/cifs to connect to the share.

The syntax would depend based on if you are in a domain or not.

# mount -t cifs //server/share /mnt/server --verbose -o user=UserName,dom=DOMAIN

You also have the ability to mount the $IPC and administrative shares. You can look into Inter-Process Communication for what you can do via the $IPC share.

There is always:

  • RDP
  • VNC
  • telnet
  • ssh
  • Linux on Windows

With the last 3 you need to install additional software.

VNC can be run from a stand-alone binary or installed.

For RDP most Linux systems either already have rdesktop installed or it is available in the package manager. Using rdesktop you only have to enable RDP connections to your Windows system and then you will be able to use RDP for a full GUI Windows console.

share|improve this answer

Yes, you can connect to Windows Machine from Linux client. But for that you have to host some kind of server(i.e. telnet, ssh, ftp or any other kind of server) on Windows machine and you should have the corresponding client on the Linux.

share|improve this answer
Since Windows is more dependent on its GUI than Linux, your best bet is probably RDP. – cjm Mar 24 '12 at 18:55
I don't think something like ftp was meant in the question. And telnet - ... really? – user unknown Mar 24 '12 at 22:41
Yeah, he probably meant ssh... – jcora Mar 25 '12 at 8:44
@pradeepchhetri and does Windows have some of this servers active by default? – H_7 Mar 25 '12 at 15:22
@H_7: Windows supports telnet and ftp server but by default they are not running. You have to make them run by: 1. Go to Control Panel -> 2. Programs And Features -> 3. Turn Windows features on or off. Here you can see the list of servers or client. You can run telnet or ftp server from here. – pradeepchhetri Mar 25 '12 at 15:38

Maybe you would like to give RDP or software like teamviewer a try. Also you could install cygwin on your windows machine and configure it for ssh access, so you'd get a shell as you know it from linux when you connect by ssh.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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