I am using windows 10 Pro. Using bash shell there. When I type SSH command it says
MINGW64 ~
$ ssh
bash: ssh: command not foundMy understanding bash will be able to execute all linux commands. Isn't it ? Command lS works. Do I need to do anything else here ?
3 Answers
I'm using debian in wsl2 and I was facing the same issue. In my case I fixed the issue by installing the openssh-client. For debian/ubuntu the command is apt install openssh-client. Hope that helps.
Try installing the Terminal app from the windows store. When a distro is installed you can change your shell (by clicking the down arrow next to the tab).
If you are in your distro (probably Ubuntu) and ssh still won't work, you may need to install ssh (to check if it is installed type 'whereis ssh' in your distros shell).
1You need to install the ssh client or to make sure the folder where the binaries are installed to is in your PATH environment variable.