Important: Please read the Qt Code of Conduct -

"Windows10 cmd ssh" dont work on QT Console.

  • Hello, I want to make an app, but


    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;
        return a.exec();

  • What made you think "ssh" would work on Windows 10? Did you install it? ssh is not a standard Windows console command.

  • I didnt installed it or I dont remember when I installed it.

    EDIT: Fresh installed Win10 on vbox have "SSH" command in cmd. It's Win10 Pro x64 on both machines (iso downloaded January 2019).
    I found it's default installed with April 2018 Update.

  • Dang it! Well this is new. I guess I don't Windows 10 enough.

  • Probably found solution. In VS x64 compiler it work normally. In Mingw I have only 32-bit compilers well configured. 64bit compilers dont work for me in Qt.

Log in to reply