OpenSSH on Windows Using Cygwin

Use any of the powerful OpenSSH hacks in this chapter on a Windows box.

So you’ve read all the nifty cool hacks so far using OpenSSH, but you’re a Windows guy or gal who hasn’t (yet) taken the plunge into the world of Linux. That’s okay! You can still take advantage of the power of OpenSSH on your Windows box by using a tool called Cygwin.

As the Cygwin web site explains:

Cygwin is a Linux-like environment for Windows. It consists of two parts:

A DLL (cygwin1.dll) which acts as a Linux emulation layer providing substantial Linux API functionality.

A collection of tools, which provide Linux look and feel.

This powerful and free package allows you to run many free software packages in Linux, all without leaving the safety and comfort of your Windows environment.

Installation

The software can be downloaded from http://www.cygwin.com/. To install Cygwin, run setup.exe and then select the Linux tools you want to install. These will be downloaded from the Internet and installed automatically. Using setup.exe, you can also choose to download only the install files, or to install them from a local directory. For the purposes of this hack, I assume that you are installing directly from the Internet.

In the first dialog box, choose an installation directory, installation type, and default text file type. Unless you need to change any of these options, just stick with the defaults for now. In the second dialog box, choose a directory where the software packages ...

Get Wireless Hacks now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.