"Windows10 cmd ssh" dont work on QT Console.
Solved
General and Desktop
-
Hello, I want to make an app, but
system("ssh");
won't work. Output is:
'ssh' is not recognized as an internal or external command, operable program or batch file.
On normal Windows CMD "ssh" and other commands work's normally.
#include <QCoreApplication> #include <iostream> #include <stdlib.h> int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); system("mkdir /?"); std::cout << std::endl; std::cout << std::endl; std::cout << std::endl; system("ssh"); return a.exec(); }
-
-
Dang it! Well this is new. I guess I don't Windows 10 enough.
https://www.howtogeek.com/336775/how-to-enable-and-use-windows-10s-built-in-ssh-commands/