Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
2  
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
add comment

3 Answers

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
add comment

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
2  
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... –  akled 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
1  
@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
show 1 more comment

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
add comment

Your Answer

 
discard

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.