1

using ruby on rails command prompt I am trying to add my generated public key to the authentication agent by using the following command

"ssh-add ~/.ssh/id_rsa"

and the return message I get

"ssh-add is not recognized as an internal or external command"

Is there another way to write this and get the same result?

t shields
  • 11
  • 1
  • 2

1 Answers1

1

XYZ is not recognized as an internal or external command is part of the error message on windows machine that is telling that the specified command was not found for various reasons.

The full error message would be:

XYZ is not recognized as an internal or external command, operable program or batch file

Either ssh-add is not installed in the system, or it is added but not in the path.

The following could be helpful:

Community
  • 1
  • 1
Prakash Murthy
  • 12,923
  • 3
  • 46
  • 74