Windows 10: SSH into Windows from Linux and run CLI/GUI apps

Discus and support SSH into Windows from Linux and run CLI/GUI apps in Windows 10 Ask Insider to solve the problem; I do not get used to wsl, and I do not think wsl2 is going to be the better solution. I run a Linux VM on my Windows hypervisor, I mounted my C drive... Discussion in 'Windows 10 Ask Insider' started by /u/Qyez, Apr 26, 2020.

  1. /u/Qyez Win User

    SSH into Windows from Linux and run CLI/GUI apps


    I do not get used to wsl, and I do not think wsl2 is going to be the better solution. I run a Linux VM on my Windows hypervisor, I mounted my C drive and I'm connecting to it via shh. My first Idea was to write a bash script, that connects from the Linux VM via ssh to the hypervisor, and it would then run an application. Like this:

    alias subl = "ssh localhost@windows ' cmd.exe /c subl'"

    But e.g. If I want to run a Graphical Application like Sublime Text, it won't start, but the Calculator do. I've enabled C Drive sharing, but I do not think that it was necessary. Then I red an article over winexe, where you have to add this regkey

    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\system" /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f

    to enable Windows Remote User Account Control but this also did not work, and I do not tried winexe, because it is outdated. I've searched the whole web, but maybe not good enough. Is there any application that can help me? Is this even possible?

    submitted by /u/Qyez
    [link] [comments]

    :)
     
    /u/Qyez, Apr 26, 2020
    #1

  2. ssh and Windows 10 Not Working

    There are two desktop computers in my home:

    One running Debian Linux and one running Windows 10.

    They both access the Web through a wireless router (Verizon).

    The issue is that I cannot access the Windows box via ssh (OpenSSH or PuTTY).

    I am able to access the Linux box from the Windows box - via ssh (via both OpenSSH and PuTTY).



    For the sake of simplicity and in order to eliminate Linux from the equation, I tried:

    ssh localhost

    ssh 192.168.1.2

    ssh HOME



    ssh matt@localhost

    ssh matt@192.168.1.2

    ssh matt@ HOME

    (where localhost, 192.168.1.2, and HOME are all the Windows box).

    None of those 3 worked - either in PuTTY or in OpenSSH.

    I either get:

    Connection to localhost closed by remote host.

    Connection to localhost closed.



    Or I get:

    ssh: connect to host 192.168.1.2 port 22: Connection timed out

    -

    I wanted to make sure that I could access this PC from another in one way or another
    - so I went ahead and created a homegroup which this computer and another household Windows 10 (laptop) are part of. That other Windows 10 PC
    is able to access this PC (and, for what it's worth, this PC can access the laptop).

    Note that a firewall runs on the Windows box. But I get the same results whether it's up or down.

    Anyone know what's going on?

    TIA, Matt
     
    ManThisIsReallyBizarre, Apr 26, 2020
    #2
  3. ByronCarlson, Apr 26, 2020
    #3
  4. SSH into Windows from Linux and run CLI/GUI apps

    Disk defragmenter won't open in GUI or CLI.

    Hello,

    We have a specific set of systems that run a special piece of software that is configured by a vendor. For some reason the disk defragmenter will not open. All systems are windows server 2016. CLI and GUI, not opening. Nothing reported in the windows system
    or application event logs.

    I've looked all over the Internet for ways you can disable a system from starting the disk defragmenter. No luck. I also reached out to the vendor, which are looking into this.

    Is there a registry setting somewhere that is used to prevent it from opening?
     
    ByronCarlson, Apr 26, 2020
    #4
Thema:

SSH into Windows from Linux and run CLI/GUI apps

Loading...
  1. SSH into Windows from Linux and run CLI/GUI apps - Similar Threads - SSH Linux run

  2. Run Linux Apps on Windows using Windows Subsystem for Linux

    in Windows 10 Gaming
    Run Linux Apps on Windows using Windows Subsystem for Linux: WSL or Windows Subsystem for Linux allows you to run GNU/Linux environment in Windows 10/11 directly without using a dual-boot configuration or a virtual machine.GIMP running on Windows 11 installation, courtesy of WSLgPrerequisites for WSLWSL1/WSL2 requires Windows 10 Build...
  3. Run Linux Apps on Windows using Windows Subsystem for Linux

    in Windows 10 Software and Apps
    Run Linux Apps on Windows using Windows Subsystem for Linux: WSL or Windows Subsystem for Linux allows you to run GNU/Linux environment in Windows 10/11 directly without using a dual-boot configuration or a virtual machine.GIMP running on Windows 11 installation, courtesy of WSLgPrerequisites for WSLWSL1/WSL2 requires Windows 10 Build...
  4. Preview of GUI app support available for Windows Subsystem for Linux

    in Windows 10 News
    Preview of GUI app support available for Windows Subsystem for Linux: A year ago at BUILD 2020 we introduced our goal to bring Linux GUI applications to the Windows Subsystem for Linux (WSL) to run Linux GUI applications. We are proud to announce the first preview of this highly anticipated and open source feature! We’ve given this...
  5. Microsoft enables Linux GUI apps on Windows 10

    in Windows 10 Software and Apps
    Microsoft enables Linux GUI apps on Windows 10: Microsoft enables Linux GUI apps on Windows 10 via Windows Subsystem for Linux and a WSLg feature. This was one of the announcements at the 2020 edition of Microsoft’s Build conference. With the release of Windows 10 Insider Preview build 21364, Microsoft is launching the...
  6. Microsoft introduces support for Linux GUI apps on Windows 10

    in Windows 10 News
    Microsoft introduces support for Linux GUI apps on Windows 10: Microsoft released a new build to the Insider channel a few hours ago that introduces support for running Linux graphical user interface applications on the Windows 10 machine. The company announced plans to support Linux GUI applications, opposed to supporting command line...
  7. Introducing Linux GUI apps running on Windows using the Windows Subsystem for Linux (WSL)

    in Windows 10 Ask Insider
    Introducing Linux GUI apps running on Windows using the Windows Subsystem for Linux (WSL): [ATTACH] submitted by /u/no_quests [link] [comments] https://www.reddit.com/r/Windows10/comments/mvlwj9/introducing_linux_gui_apps_running_on_windows/
  8. Cannot SSH to windows from linux - No route to host

    in Windows 10 Ask Insider
    Cannot SSH to windows from linux - No route to host: I'm trying to ssh from a linux to a windows system. I'm able to connect windows-to-linux but not linux-to-windows. On linux-to-windows ssh attempt, I get an error that says No route to host. When I ping the IP address of the windows system from linux it says Destination...
  9. Can't ssh into Windows10 from Linux!!

    in Windows 10 Ask Insider
    Can't ssh into Windows10 from Linux!!: Hello guys, hope you all doing well. I trying to ssh from Linux Mint to Windows10 but it is asking for password but the problem is that I don't have any password set for my windows. So where can i find password for my windows ssh. I'm using windows 10 builtin ssh-service....
  10. HYPER V with minimum GUI or even just a CLI

    in Windows 10 Virtualization
    HYPER V with minimum GUI or even just a CLI: Hi HYPER-V gurus I'm looking at running a few VM's from an almost "Server" like system -- I obviously don't want to shell out big $$$$'s for Windows SERVER and it in any case would be overkill for what I want to try out. Is it possible using Windows 10 Pro to re-install...