0
I can connect to Gnu/Linux machines from Microsoft's Windows (and Gnu/Linux to Gnu/Linux) using PuTTY/ssh. I want to do the other way round - connect to a Windows machine from Gnu/Linux only command line. Is this possible?
0
I can connect to Gnu/Linux machines from Microsoft's Windows (and Gnu/Linux to Gnu/Linux) using PuTTY/ssh. I want to do the other way round - connect to a Windows machine from Gnu/Linux only command line. Is this possible?
3
Yes your Gnu/Linux machine will be more than happy to do this. You just need to run a ssh server on the Microsoft Windows machine, with an appropriate shell.
I know that this can be done for bash on MS-Windows: using WSL (A Gnu/Linux sub-system for MS-Windows, but without the Linux ), Cygwin, or Mingu.
Microsoft has more info on setting up ssh server, for both cmd
, and power-shell.
It's worth to note that if you run WSL, you can just spin up a SSH server inside and it will work. – Panki – 2019-12-11T07:54:40.703
@Panki Do you then have access to the MS-Windows host? – ctrl-alt-delor – 2019-12-11T11:19:26.790
yes, I can even run
cmd.exe
or work on the filesystem. – Panki – 2019-12-11T11:24:04.227@Panki you should add that as an answer. – ctrl-alt-delor – 2019-12-11T11:27:55.117
Nah, I think your edit describes it well enough :) – Panki – 2019-12-11T11:47:47.350
I agree with your answer, but would recommend updating the SSH link to point to Win32-OpenSSH on Microsoft's GitHub, as the Add Feature version is not an up-to-date version of OpenSSH (current version is 8.0.0.0p1, versus Add Features' 0.0.1.0)
– JW0914 – 2019-12-11T12:41:51.230@JW0914 do the edit. I am not the expert here. – ctrl-alt-delor – 2019-12-11T19:43:30.637