email, there is a line break between the key and the comment, but no
space. Example:
ssh-rsa
<random RSA code>==
<random comment code>-iphone-rsa-key-todaysdate
When formatted on one line, it appears as: ssh-rsa<random RSA
code>==<random comment code>-iphone-rsa-key-todaysdate
Instead of pasting with line breaks, it should be one line with
appropriate spaces: ssh-rsa <random RSA code>== <random comment code>-
iphone-rsa-key-todaysdate
Hope this helps the others with this problem!
Sean
On Apr 29, 11:42 am, Dean <canada...@gmail.com> wrote:
> Make sure the password for that connection is indeed blank. If the
> server ever got to the RSA key (and didn't like it), you would see a
> message along the lines of "Server refused our key" instead as an
> error.
>
> Dean
>
> On Apr 28, 1:37 pm, Sean <seanca...@gmail.com> wrote:
>
>
>
> > Hey all,
>
> > Question for you regarding iSSH and Amazon EC2: I'm trying to connect
> > to my Amazon EC2 server by generating a RSA key on iSSH, then copying
> > the public key over to my EC2 server. I've been following the general
> > outline provided by Ryan Wilson on his blog:
>
> >http://blog.augmentedfragments.com/2008/09/connecting-to-ec2-from-iss...
>
> > Steps I have taken so far on iSSH:
>
> > Load iSSH
> > General Settings
> > Generate RSA Key
> > Email Public Key to myself
>
> > On my server:
>
> > cd .ssh
> > Edit authorized_keys
> > Add the public key: ssh-rsa blahblahblah-iphone-rsa-key-todaysdate
> > Save and exit
> > Restart SSH: sudo /etc/init.d/ssh restart
>
> > Back on iSSH:
>
> > Create new configuration
> > Host: <my server ip>
> > Port: Default
> > Login: <my user name>
> > Use RSA Key: On
> > The rest are set to defaults
>
> > Now, I can successfully connect to the server, but I receive the
> > following authentication error:
>
> > Connection Failed
> > Disconnected: No supported authentication methods available
>
> > Any ideas?
>
> > Thanks in advance!
>
> > --
> > You received this message because you are subscribed to the Google Groups "iSSH/iX11" group.
> > To post to this group, send email to issh@googlegroups.com.
> > To unsubscribe from this group, send email to issh+unsubscribe@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/issh?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups "iSSH/iX11" group.
> To post to this group, send email to issh@googlegroups.com.
> To unsubscribe from this group, send email to issh+unsubscribe@googlegroups.com.
> For more options, visit this group athttp://groups.google.com/group/issh?hl=en.
--
You received this message because you are subscribed to the Google Groups "iSSH/iX11" group.
To post to this group, send email to issh@googlegroups.com.
To unsubscribe from this group, send email to issh+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/issh?hl=en.
Comments
0 comments to "Re: Amazon EC2: RSA Key generation"
Post a Comment