I’ve been able to setup my P2 server, but can’t connect to it. I think I need to install SSH. Is there a simple way to do that without having to reinstall cygwin?
$ bash setup_p2.sh
Waiting for instance start…
Connect: ssh -i /home/Natasha/.ssh/aws-key.pem email@example.com
$ ssh -i /home/Natasha/.ssh/aws-key.pem firstname.lastname@example.org
-bash: ssh: command not found
Sure. There’s two ways to add stuff to cygwin:
- Run cygwin’s setup again, and select the additional package you want. This doesn’t actually reinstall cygwin, but just adds the package(s) you select
- Install apt-cyg, then ‘apt-cyg install openssh’
Hi there, thanks for the advice, had the same error as Byron… though it doesn’t look like apt-cyg installed openssh for me…
$ wget rawgit.com/transcode-open/apt-cyg/master/apt-cyg
--2017-01-11 18:23:21-- http://rawgit.com/transcode-open/apt-cyg/master/apt-cyg
Resolving rawgit.com (rawgit.com)... 22.214.171.124, 126.96.36.199
Connecting to rawgit.com (rawgit.com)|188.8.131.52|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://raw.githubusercontent.com/transcode-open/apt-cyg/master/apt-cyg [following]
--2017-01-11 18:23:22-- https://raw.githubusercontent.com/transcode-open/apt-cyg/master/apt-cyg
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 184.108.40.206
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|220.127.116.11|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13765 (13K) [text/plain]
Saving to: ‘apt-cyg.4’
apt-cyg.4 100%[========================================>] 13.44K --.-KB/s in 0.04s
2017-01-11 18:23:22 (357 KB/s) - ‘apt-cyg.4’ saved [13765/13765]
$ install apt-cyg /bin
$ where apt-cyg
$ which apt-cyg
$ apt-cyg install openssh
$ ssh -i /home/joshu/.ssh/aws-key-fast-ai.pem email@example.com
bash: ssh: command not found
Figured it out:
Had to go back to the cygwin setup, search for lynx and install that. Then I used lynx to install apt-cyg per the github link Jeremy posted. Once that was done, then the commands to install openSSH worked for me
Side note: For some reason wget wasn’t getting installed when I selected it on the Cygwin setup program. I used lynx on the command line (added C:/cygwin64/bin/ to my path variable) to install wget.
Windows is the most popular operating system because it uses most of the people in the world. You can simply install the Windows.When an SSH session closes with either Write failed broken pipe or Network error : Connection reset by peer," it means the session has timed out when you install the Linux. If your windows are not working properly then you can If your windows are not working properly then you can contact 0x800705b4 for the best solution.
If you are getting some error code on your Windows then it means you have not installed Windows properly you can reinstall it again. If you are using a Dell laptop and it is not starting or it won’t turn on then you may visit this Dell Laptop Won’t Turn On to fix this problem.
For any system errors and network issues you can contact FieldEngineer.com a global marketplace where you get a solution easily.
This had to be the most valuable piece of information I received from this article: " Even though points modify each of the time, consider adding an updated url to old articles or blog posts. If website visitors discover previous posts initially with outdated information and facts, they are able to find the existing version effortlessly as a result of your applied website link."
When I put in articles and some of my posts end up getting older, they may still be relevant to the current market. In addition to that, if the information may need some new content, which I put in a new post, then I am able to do so by adding a link to the newer content. I appreciate that tip. Thanks.
Here in Atlanta, we appreciate it:
Windows normally faces this kind of issue. I contact geek squad tech support team for the help. This issue was resolved by them in no time.
Enterasource is your source for new, used & refurbished enterprise hardware. We specialize in configure to order servers, DAS storage, SAN storage, optical transceivers, DAC cables, switches, routers and more.