|
|
 |
BOOK: Beginning Building Mobile Application Development in the Cloud  | This is the forum to discuss the Wrox book Beginning Building Mobile Application Development in the Cloud by Richard Rodger ; ISBN: 978-1-1180-3469-9 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning Building Mobile Application Development in the Cloud section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, win occasional prizes given to our best members, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
|
 |
|
|
 |

November 21st, 2011, 04:43 PM
|
|
Registered User
|
|
Join Date: Nov 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
ssh
Everything has been going swimmingly as I work my way through the exercises in this excellent resource; however, I am unable to make ssh work in Cygwin in order to connect to my AWS instance. Any clues? Thanks! :dj
|

November 21st, 2011, 05:30 PM
|
|
Registered User
|
|
Join Date: Nov 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I haven't tried Cygwin but in the past I successfully connected to an AWS instance using PuTTY from a Windows OS. I found this blog post helpful when I was struggling getting SSH to work.
|

November 25th, 2011, 11:46 AM
|
|
Registered User
|
|
Join Date: Nov 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
ssh
You might check firewall settings for an installed firewall, to make sure it giving cygwin full permissions.
|

November 28th, 2011, 04:33 PM
|
|
Registered User
|
|
Join Date: Nov 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
ssh with ubuntu instance
Thanks for the posts, cman123 & jhrobbin. I couldn't see any firewall issues, so I downloaded PuTTY and got a bit farther along with the help of the blog that jhrobbin referenced.
Now it seems that I can login to default AMI instances with PuTTY SSH, but when I try to login to an Ubuntu instance via Alestic, my key private key is not accepted by the server. Any clues?
I'm also wondering if there's some way to start nginx on a non-Ubuntu instance. Has anyone tried that? Thanks! :dj
|

January 20th, 2012, 02:57 PM
|
|
Registered User
|
|
Join Date: Jan 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
SSH login and aws
I assume you are using the right private key. You also need to use the right user name with your key as follows:
ubuntu - for ubuntu servers
ec2-user - for Amazon provided AMIs
|

February 7th, 2012, 11:10 AM
|
|
Authorized User
|
|
Join Date: Dec 2011
Posts: 22
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
How do you get past
Code:
$ cd C:\Cygwin\
>chmod go-r yourkey.pem
-bash: cd: C:Cygwinchmod: No such file or directory
When you have put yourkey.pem in that directory?
|

February 10th, 2012, 03:49 PM
|
|
Authorized User
|
|
Join Date: Dec 2011
Posts: 22
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by Frodo
How do you get past
Code:
$ cd C:\Cygwin\
>chmod go-r yourkey.pem
-bash: cd: C:Cygwinchmod: No such file or directory
When you have put yourkey.pem in that directory?
|
I got past that. Now I am stuck on the ssh key command: I answer "yes" and I get "permission denied(publickey)" after it tells me it is now saving the ec-2blahblah as a permanent whatchamacallit.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |