Jump to content

Hi everyone,

Apparently, Windows 10 now supports SSH. My goal is to launch some app in my Windows machine using my phone. I am able to log into my PC, but I can't launch anything. Well, I can but it is only some weird process which uses only 2MB of RAM and thats it. However, if I run the same command in Command Prompt it works just fine.

Any ideas, please?

 

Disclaimer: I am not expert in this. Please no hate.

Disclaimer#2: I am not expert in English either.

Link to comment
https://linustechtips.com/topic/1104424-trying-to-figure-out-ssh-in-windows-10/
Share on other sites

Link to post
Share on other sites

When you SSH you can only run command line programs as you have no GUI on the system you remote from. It won't stream the program GUI to your other device, if that is what you are expecting. Same as under Linux based OS. The difference is that because Linux is command line first and GUI second, a wide variety of  program have a command line version of it with the GUI. That is not a reality under Windows. 

 

So if you want to manage a system that doesn't have a screen/keyb/mouse or is out of reach.,then SSH.

If you want to use programs, then use remote desktop.

If you want games, over software specialized in that, or use Remote Desktop and get what you get.

Link to post
Share on other sites

4 hours ago, GoodBytes said:

It won't stream the program GUI to your other device, if that is what you are expecting.

I don't want to do anything with that program. I just want to run it. Let's say I want my PC to open my mp3 player and play something. I don't plan to interact with it anymore. Just play random song.

Link to post
Share on other sites

8 hours ago, LifeIsCrappyGame said:

I don't want to do anything with that program. I just want to run it. Let's say I want my PC to open my mp3 player and play something. I don't plan to interact with it anymore. Just play random song.

You need to find a command line music player. Another option is to use Windows Media Player 12 remote streaming feature. It allows you to play music from another computer from another one, and control it (next track, play pause, etc.)

Link to post
Share on other sites

9 minutes ago, GoodBytes said:

It allows you to play music from another computer from another one, and control it

I don't want to control it in any way. I just want to launch that program and thats it. However, if i start it through SSH nothing will happen at all. But the same command works in CMD just fine. I would like to know, why it doesn't work.

Link to post
Share on other sites

9 minutes ago, LifeIsCrappyGame said:

I don't want to control it in any way. I just want to launch that program and thats it. However, if i start it through SSH nothing will happen at all. But the same command works in CMD just fine.

I understand that. But that is not the purpose of SSH. It is not a remote desktop in command line version. SSH is to manage one or access it's content, upload a file and so on. For example, you want to view a text file. You don't do "notepad test.txt", you do: "type test.txt".

Link to post
Share on other sites

3 minutes ago, GoodBytes said:

I understand that. But that is not the purpose of SSH. It is not a remote desktop in command line version. It is to manage it. And you can only use command line version of applications. You cannot open notepad, but you can 

 

I don't think you know what SSH is. SSH is not a remote desktop solution. It is not designed to remotely control another system. SSH is to manage one or access it's content, upload a file and so on. For example, you want to view a text file. You don't do "notepad test.txt", you do: "type test.txt" 

ok, thanks for help anyway

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×