How to create a .exe file using c/c++ for ssh login into remote server?

Viewed 34
#include <iostream>
#include <windows.h>

using namespace std;

int main()
{
    system("ssh -i "privatekey" uname@192.168.1.101");
    return 0;
}

I want to create a .exe file for easy and secure my ssh login in windows, I have used the above command it's saying:

'ssh' is not recognized as an internal or external command, operable program or batch file.

1 Answers
Related