<div dir="ltr">Dear Armith,<div>Hi,<br><div>Thank you very much for your response. According to your reply I think I have two options in order to ssh into created trove instance:</div><div><br></div><div>1- Using local password if exists in used image. Since I did use trove-centos-7.0-mysql-5.5 image from Tesora, I dont know if there is any built-in password in this image. I really appreciate if you tell me is there any built-in password for this image or not?</div><div><br></div><div>2- Modify this image and add a built-in password or add the public key of my controller node (or whatever node I want to use as a source for creating ssh connection) to authorized_keys part of cloud-init config file.</div><div><br></div><div>I already tried the second one for adding the public key of my controller node to authorzied_keys part of cloud-init config file. However, I did end up with permission denied (public key) error in this case. Please consider I just want to debug trove-guestagent in order to find out what is wrong with my configuration. Therefore did not consider security concerns in suggested solutions. It is only for the purpose of debugging. </div><div>Thank you very much.</div><div>Best regards. </div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 12, 2015 at 4:39 PM, Amrith Kumar <span dir="ltr"><<a href="mailto:amrith@tesora.com" target="_blank">amrith@tesora.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ali,<br>
<br>
Mark's answer below would address the networking part, I just wanted to highlight the other pieces here that are that if your trove image has a public key (typically ~/.ssh/authorized_keys) and you know the user name, and an SSH server is installed and running, getting to the instance on SSH is merely a matter of adjusting the networking to allow access on route 22. There's nothing special in trove in this regard; that which you would do with Nova will work with Trove.<br>
<br>
Hope that helps,<br>
<br>
-amrith<br>
<span class="im HOEnZb"><br>
| -----Original Message-----<br>
| From: Mark Kirkwood [mailto:<a href="mailto:mark.kirkwood@catalyst.net.nz">mark.kirkwood@catalyst.net.nz</a>]<br>
| Sent: Wednesday, February 11, 2015 6:02 PM<br>
| To: <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
| Subject: Re: [Openstack] customizing trove instances security group<br>
|<br>
</span><div class="HOEnZb"><div class="h5">| On 12/02/15 09:09, Ali Nazemian wrote:<br>
| > Dear all,<br>
| > Hi,<br>
| > I was wondering how can I customize the security group of created<br>
| > trove instance in order to add ssh rule for the purpose of accessing<br>
| > to the created instance using ssh.<br>
| ><br>
|<br>
| You can set this via the command line tools e.g:<br>
|<br>
| $ neutron security-group-list<br>
| $ neutron security-group-rule-create --protocol tcp \<br>
|    --port-range-min 22 --port-range-max 22 --direction ingress <sec group<br>
| id><br>
|<br>
| Cheers<br>
|<br>
| Mark<br>
|<br>
| _______________________________________________<br>
| Mailing list: <a href="http://lists.openstack.org/cgi-" target="_blank">http://lists.openstack.org/cgi-</a><br>
| bin/mailman/listinfo/openstack<br>
| Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
| Unsubscribe : <a href="http://lists.openstack.org/cgi-" target="_blank">http://lists.openstack.org/cgi-</a><br>
| bin/mailman/listinfo/openstack<br>
<br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">A.Nazemian</div>
</div>