Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 21st, 2011, 04:43 PM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #2 (permalink)  
Old November 21st, 2011, 05:30 PM
Registered User
Points: 6, Level: 1
Points: 6, Level: 1 Points: 6, Level: 1 Points: 6, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #3 (permalink)  
Old November 25th, 2011, 11:46 AM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default ssh

You might check firewall settings for an installed firewall, to make sure it giving cygwin full permissions.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #4 (permalink)  
Old November 28th, 2011, 04:33 PM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #5 (permalink)  
Old January 20th, 2012, 02:57 PM
Registered User
Points: 6, Level: 1
Points: 6, Level: 1 Points: 6, Level: 1 Points: 6, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #6 (permalink)  
Old February 7th, 2012, 11:10 AM
Authorized User
Points: 94, Level: 1
Points: 94, Level: 1 Points: 94, Level: 1 Points: 94, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2011
Posts: 22
Thanks: 3
Thanked 0 Times in 0 Posts
Default

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #7 (permalink)  
Old February 10th, 2012, 03:49 PM
Authorized User
Points: 94, Level: 1
Points: 94, Level: 1 Points: 94, Level: 1 Points: 94, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2011
Posts: 22
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Frodo View Post
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh read output as it is cloudsuser Linux 0 June 3rd, 2010 02:47 AM
ssh - execute the script remotely / File not found: '' cloudsuser Linux 0 May 28th, 2010 02:00 AM
API for Secure FTP (SFTP/SSH) redbudval Pro VB.NET 2002/2003 2 December 7th, 2007 05:27 PM



All times are GMT -4. The time now is 07:55 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
© 2011 John Wiley & Sons, Inc.