Using Remoter with Amazon EC2

Using Remoter with Amazon EC2

Postby mevilsizor » Thu Oct 18, 2012 12:47 am

Hello, I am just starting out with using Amazon EC2 and setting up ssh keys. I bought Remoter hoping to use it to SSH into my virtual PCs hosted in Amazon's EC2 cloud.

I have successfully downloaded my key file from Amazon and I am using this to ssh into my host using OS/X terminal.

How do I import my .pem file into Remoter so that I can use this as my terminal session manager?

Thanks
mevilsizor
 
Posts: 2
Joined: Tue Oct 16, 2012 12:51 am

Re: Using Remoter with Amazon EC2

Postby raf » Mon Oct 22, 2012 9:28 am

Hi mevilsizor,

I don't have much experience with Amazon EC2.
Is there a way to convert your .pem file to the standard id_rsa format? If so, please try placing it under:
~/.ssh/id_rsa (back up the original one first)
If you're using the App Store version of Remoter, then please create a .ssh directory under:
~/Library/Containers/com.remoterlabs.remotermac/Data/
And place the id_rsa file in there.

For the next version of Remoter, the import button will allow you to select the file with an "open" window.

Thanks!,
Raf.
raf
Site Admin
 
Posts: 1691
Joined: Sat Oct 09, 2010 12:17 am

Re: Using Remoter with Amazon EC2

Postby alexschomb » Mon Oct 22, 2012 9:57 am

I think you should be able to extract your public key from the EC2 .pem key pair with the following command:
Code: Select all
ssh-keygen -y -f key.pem > id_rsa.pub
alexschomb
 
Posts: 102
Joined: Thu Jul 05, 2012 8:12 am
Location: Aachen, Germany

Re: Using Remoter with Amazon EC2

Postby raf » Mon Oct 22, 2012 11:40 am

Thanks for the info, Alex. I'll have to test this and include an option to import .pem files directly.

Raf.
raf
Site Admin
 
Posts: 1691
Joined: Sat Oct 09, 2010 12:17 am

Re: Using Remoter with Amazon EC2

Postby mevilsizor » Sat Oct 27, 2012 9:26 pm

Thanks Alex!
Using that command I was able to get the public and private parts of the .pem file into 2 separate files.
From this I was able to import them into a Chrome SSH extension which worked great!

However I am still not understanding how to use these with Remoter.
I start Remoter, then I click Remoter and click the SSH Key Manager and click Import.
It then asked me about pass phrases and I wipe this out and click import and nothing happens.

I don't know how to use this dialog box to navigate to my key pair files?
I see the parenthetical (.ssh/id_rsa) and so I tried putting my files into the .ssh/id_rsa directory when this did not work I tried removing the id_rsa directory and moving the files directly into ~/.ssh.

None of this worked. So I am still not understanding how to import these keys into Remoter.

Thanks
mevilsizor
 
Posts: 2
Joined: Tue Oct 16, 2012 12:51 am

Re: Using Remoter with Amazon EC2

Postby raf » Tue Nov 27, 2012 11:40 am

Did you try the latest (beta) version of Remoter? Some changes were done in the key import section.

Find the beta here:
viewtopic.php?f=11&t=549

Raf.
raf
Site Admin
 
Posts: 1691
Joined: Sat Oct 09, 2010 12:17 am


Return to Support

Who is online

Users browsing this forum: No registered users and 0 guests