Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Command not found: ssh OpenSSH not found on your computer

I'm trying to set up Ionic pro. But it gives an error.Any help?

I have installed Git Bash.But still, it shows above error. Why?

May we proceed? Yes

ionic ssh generate C:\Users\lokuge.ssh\ionic\4460 [ERROR] Command not found: ssh [WARN] OpenSSH not found on your computer. [INFO] You will be prompted to provide a passphrase, which is used to protect your private key should you lose it. (If someone has your private key, they can impersonate you!) Passphrases are recommended, but not required. 'ssh-keygen' is not recognized as an internal or external command, operable program or batch file. [ERROR] Command not found: ssh-keygen

like image 240
Sampath Avatar asked Oct 21 '17 19:10

Sampath


1 Answers

Simple: install SSH

Since you seem to be on Windows, I suggest getting Git Bash. That ships with OpenSSH. Oh, and Git, obviously.

Edit, because the solution is actually in the comments: You have to run whatever command is causing the error in Visual Studio from within the actual Bash shipped with Git Bash. Simply installing Git Bash but running the command from within VS does not work, as VS assumedly uses a different terminal emulator.

like image 89
Oliver Baumann Avatar answered Sep 17 '22 20:09

Oliver Baumann