Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows SSH instructions #4

Merged
merged 5 commits into from Mar 28, 2011
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions INSTALL.md
Expand Up @@ -21,6 +21,7 @@ When the instance is green and "started", log in to the machine:

*Note: Replace `XXX.amazonaws.com` with the hostname or address of your instance*

*Note: SSH isn't built into Windows, <a href="WINDOWS-SSH.md" name="installsoftware">follow the guide</a>*

## Install software

Expand Down
19 changes: 19 additions & 0 deletions WINDOWS-SSH.md
@@ -0,0 +1,19 @@
# SSH in Windows

Windows doesn't have SSH built in like Linux or OSX. In order to SSH to an EC2 instance under Windows there are a few more steps involved.

## puTTY

There are two programs required to do SSH in Windows, puTTYgen and puTTY. These can both be obtained from the puTTY [download page](http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html).

Since putty requires a `.ppk` file rather than `.pem` file (they're essentially the same just a different extension to store the `.pem` data) for private key authentication. Fire up `puTTYgen.exe` and load the .pem file you just. `Select file > load private key`. Change the file type filter to all files (*.*), select your `.pem` file and will bring up a dialog that you have successfully imported a foreign key. `Select file > save private key`.

We know have our private key in the right format (`.ppk`). Close puTTYgen and and open puTTY.

Under sessions enter your public DNS of your instance you just created, prefix the address with ubuntu@ so it will automatically use that as your username to login. Make sure port is 22 and SSH is selected in connection type.

In the same window go to `Connection > SSH > Auth`. Click browse for Private key file for authentication file input and select your newly generated `.ppk` file.

To avoid repeating these steps you can save your session details for easier connecting. Jump back to `Sessions` and enter a name under `Saved Sessions` and click `Save`. Now all you do is double click you saved session to connect.

Head back to the [install instructions](INSTALL.md#installsoftware) to continue your setup.