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
-
good question ... issue also happens when attempting to ssh out from a Ubuntu docker container which for efficiency does not include ssh client– Scott StenslandOct 21, 2017 at 20:56
Add a comment
|
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.
-
-
-
Did not see the ssh box in the installation box. I re downloaded cygwin with all default settings.– jamesDec 26, 2013 at 21:25
-
Have you tried navigating to the cygwin directory and trying the above commands in CMD? Also, This might be off topic and may find better support in a different forum.– jmunschDec 26, 2013 at 21:27
-
Im using the setup kernel now. Everything seems to be getting the same response: command not found. Thank you!– jamesDec 26, 2013 at 21:35