From aa3f56dc84bce78014c1e31d39561d556ca48e50 Mon Sep 17 00:00:00 2001 From: Ryan Seddon Date: Mon, 28 Mar 2011 20:00:21 +1100 Subject: [PATCH 1/5] Added SSH instructions for Windows --- INSTALL.md | 1 + WINDOWS-SSH.md | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 WINDOWS-SSH.md diff --git a/INSTALL.md b/INSTALL.md index bf038b14..295cbc38 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -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, [follow the guide](WINDOWS-SSH.md)* ## Install software diff --git a/WINDOWS-SSH.md b/WINDOWS-SSH.md new file mode 100644 index 00000000..815bb922 --- /dev/null +++ b/WINDOWS-SSH.md @@ -0,0 +1,17 @@ +# 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. \ No newline at end of file From a8e4961d01b3ceb1c024de7c14ad1ed8e22c5e71 Mon Sep 17 00:00:00 2001 From: Ryan Seddon Date: Mon, 28 Mar 2011 20:12:21 +1100 Subject: [PATCH 2/5] Internal link --- INSTALL.md | 2 +- WINDOWS-SSH.md | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 295cbc38..850e0b22 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -23,7 +23,7 @@ When the instance is green and "started", log in to the machine: *Note: SSH isn't built into Windows, [follow the guide](WINDOWS-SSH.md)* -## Install software +

Install software

sudo apt-get update sudo apt-get install nginx git-core daemon diff --git a/WINDOWS-SSH.md b/WINDOWS-SSH.md index 815bb922..964b2337 100644 --- a/WINDOWS-SSH.md +++ b/WINDOWS-SSH.md @@ -14,4 +14,6 @@ Under sessions enter your public DNS of your instance you just created, prefix t 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. \ No newline at end of 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. \ No newline at end of file From 81237cc0a181b4ac966d0c5eff419d3f88c9f064 Mon Sep 17 00:00:00 2001 From: Ryan Seddon Date: Mon, 28 Mar 2011 20:15:28 +1100 Subject: [PATCH 3/5] Trying internal linking --- INSTALL.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index 850e0b22..0b2b22b9 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -23,7 +23,8 @@ When the instance is green and "started", log in to the machine: *Note: SSH isn't built into Windows, [follow the guide](WINDOWS-SSH.md)* -

Install software

+
+## Install software sudo apt-get update sudo apt-get install nginx git-core daemon From d1581b22d93967fcf0db4247c5f7e15987f048ed Mon Sep 17 00:00:00 2001 From: Ryan Seddon Date: Mon, 28 Mar 2011 20:17:32 +1100 Subject: [PATCH 4/5] Trying internal link syntax --- INSTALL.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 0b2b22b9..a4fdf61e 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -21,9 +21,8 @@ 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, [follow the guide](WINDOWS-SSH.md)* +*Note: SSH isn't built into Windows, follow the guide* -
## Install software sudo apt-get update From 63a37573c91f78f7b328140e63d495b64af7590b Mon Sep 17 00:00:00 2001 From: Ryan Seddon Date: Mon, 28 Mar 2011 20:19:09 +1100 Subject: [PATCH 5/5] Got it! --- INSTALL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index a4fdf61e..8bbd61eb 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -21,7 +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, follow the guide* +*Note: SSH isn't built into Windows, follow the guide* ## Install software