I am working on a C++ project using CodeBlocks on Windows but then decided to switch to NetBeans IDE 8.2.

Within my project, I am calling another executable file with some passed parameters (I run the other .exe with suitable parameters then I take the output of it to use in my main project), and it used to work on CodeBlocks but not on NetBeans. 

The code is the following:

```
#include <iostream>
#include <fstream>
#include <stdlib.h>
#include <cstdlib>
#include <string.h>
#include <sstream>
#include <vector>
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>

#include "My_Constants.h"
#include "Data.h"
#include "Parameters.h"
#include "Pattern.h"
#include "Squish.h"
#include "Deserializer.h"
#include "Automatic_Run.h"

using namespace std;

int main()
{

    Parameters parameters;
    parameters.mode = SQUISH;
    Automatic_Run runner;
    string inputname;

    //--------------------------------User Input-------------------------------------
    cout << "enter input file name \n";
    getline(cin, inputname);
    parameters.inputFileName.assign(inputname);
    cout<<"=============================================================================\n";

    //--------------------------------Running SQUISH/first call--------------------------
    cout<<"Running SQUISH - first call\n";
    char command[1000]="";
    string passedParameters = " -i "+parameters.inputFileName +" -f "+ "t";
    strcat(command,"C:\\Users\\Administrator\\Documents\\CodeBlocksProjects\\TestSQUISH\\bin\\Debug\\TestSQUISH.exe ");
    strcat(command,passedParameters.c_str());
    int result = system(command);

 // the rest of the code(not relevant to the problem)

    return 0;
}

```

On CodeBlocks, it used to work perfectly and give me the output as a file in the path of my main project (the one I am calling TestSQUISH from). However, now on NetBeans, I am getting the following error:

> 
> sh: C:UsersAdministratorDocumentsCodeBlocksProjectsTestSQUISHbinDebugTestSQUISH.exe: command not found
> 
> 
> 

I checked the terminal of NetBeans to get an idea of what is happening (assuming it might be related) and I noticed that I have to change the path first, then run the executable using:

> 
> ./ TestSQUISH.exe (+parameters)
> 
> 
> 

However, that also didn't work for my project.

Can anyone please suggest a solution or tell me how I can make NetBeans run the command on a Windows terminal as CodeBlocks used to do?
['https://Stackoverflow.com/questions/59174310', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1383685/']
Your current remote will be using https protocol. That is why it is still asking for password. 

use `git remote show origin | grep URL` to see the current remote URL for origin

if it starts with `https://` it will ask for username and password. 

Then remove it by `git remote rm origin`

Then add ssh url by `git remote add origin <url>`
Make sure that you provide ssh url here, it should be something like `git@github.com..`

Go to your github repo and click on green clone button and if it is in https format change it to ssh 
[![enter image description here](https://i.stack.imgur.com/AAX5b.png)](https://i.stack.imgur.com/AAX5b.png)

Use the `Use SSH` link to change it to SSH 

Then you should see the ssh url 

[![enter image description here](https://i.stack.imgur.com/GNuIo.png)](https://i.stack.imgur.com/GNuIo.png)
All I want at this point is to no enter my username and password whenever I want to push my stuff on github. I made it work. But a day I had to create an other ssh key and id for my VPS but I overwrited it, I didn't know that I have to create one id/key per file.

So I delete known\_host and erase the content of rsa.pub and rsa, and create a brand new one but it don't work..