Command Not Found When Sshing into Ubuntu for Amazon Instance

When trying to ssh into my ubuntu instance, I receive -bash: ssh: command not found. I'm trying to connect to an instance on amazonaws. Im running cygwin off of windows 7

1

1 Answer

Is ssh installed?

sudo apt-get install openssh-client

It is saying that you do not have ssh.

UPDATE:

If on cygwin (look here):

cd /to/where/cygwin/is
setup-x86.exe -q -P openssh

Or if its 64bit:

cd C:\Cygwin
setup-x86_64.exe -q -P openssh

You may have to run it as administrator or try reinstalling cygwin and make sure the little ssh box is checked.

8

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest