Can I connect to Windows machine from Linux shell?
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?
See answer below: https://unix.stackexchange.com/a/427739/242983. OpenSSH is now supported natively by the latest update of Windows10. However, its not available for older versions. Please update your Windows10 before trying this.
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
$IPCand administrative shares. You can look into Inter-Process Communication for what you can do via the
There is always:
- Linux on Windows
With the last 3 you need to install additional software.
- Kpym (telnet / ssh server)
- MobaSSH (ssh server)
- Cygwin (run a Linux environment inside Windows)
- DamnSmall Linux - inside Windows (like Cygwin run DSL inside Windows)
VNC can be run from a stand-alone binary or installed.
For RDP most Linux systems either already have
rdesktopinstalled or it is available in the package manager. Using
rdesktopyou 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.