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

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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

You Might Also Like