Page 1 of 1

Using Remoter with Amazon EC2

PostPosted: Thu Oct 18, 2012 12:47 am
by mevilsizor
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

Re: Using Remoter with Amazon EC2

PostPosted: Mon Oct 22, 2012 9:28 am
by raf
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.

Re: Using Remoter with Amazon EC2

PostPosted: Mon Oct 22, 2012 9:57 am
by alexschomb
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

Re: Using Remoter with Amazon EC2

PostPosted: Mon Oct 22, 2012 11:40 am
by raf
Thanks for the info, Alex. I'll have to test this and include an option to import .pem files directly.

Raf.

Re: Using Remoter with Amazon EC2

PostPosted: Sat Oct 27, 2012 9:26 pm
by mevilsizor
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

Re: Using Remoter with Amazon EC2

PostPosted: Tue Nov 27, 2012 11:40 am
by raf
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.