Re: [Openstack] keypair workaround

2014-06-22 Thread Alberto Molina Coballes
El 21/06/2014 20:17, Frans Thamura fr...@meruvian.org escribió:


 i want to make more common ssh without have to add -i keypair2.pem

 any idea?


What about using ssh-agent?

Alberto
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] keypair workaround

2014-06-22 Thread Frans Thamura
someone here setup openstack (based on mirantis) and i can ssh
username@serverhost, and no need keypair

but i setup here, need keypair.

any idea?
--
Frans Thamura (曽志胜)
Shadow Master and Lead Investor
Meruvian.
Integrated Hypermedia Java Solution Provider.

Mobile: +628557888699
Blog: http://blogs.mervpolis.com/roller/flatburger (id)

FB: http://www.facebook.com/meruvian
TW: http://www.twitter.com/meruvian / @meruvian
Website: http://www.meruvian.org

We grow because we share the same belief.


On Mon, Jun 23, 2014 at 1:10 AM, Alberto Molina Coballes
alb.mol...@gmail.com wrote:

 El 21/06/2014 20:17, Frans Thamura fr...@meruvian.org escribió:




 i want to make more common ssh without have to add -i keypair2.pem

 any idea?


 What about using ssh-agent?

 Alberto

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] keypair workaround

2014-06-22 Thread John Griffith
On Sun, Jun 22, 2014 at 1:42 PM, Frans Thamura fr...@meruvian.org wrote:

 someone here setup openstack (based on mirantis) and i can ssh
 username@serverhost, and no need keypair

 but i setup here, need keypair.

 any idea?
 --
 Frans Thamura (曽志胜)
 Shadow Master and Lead Investor
 Meruvian.
 Integrated Hypermedia Java Solution Provider.

 Mobile: +628557888699
 Blog: http://blogs.mervpolis.com/roller/flatburger (id)

 FB: http://www.facebook.com/meruvian
 TW: http://www.twitter.com/meruvian / @meruvian
 Website: http://www.meruvian.org

 We grow because we share the same belief.


 On Mon, Jun 23, 2014 at 1:10 AM, Alberto Molina Coballes
 alb.mol...@gmail.com wrote:
 
  El 21/06/2014 20:17, Frans Thamura fr...@meruvian.org escribió:
 
 
 
 
  i want to make more common ssh without have to add -i keypair2.pem
 
  any idea?
 
 
  What about using ssh-agent?
 
  Alberto

 ___
 Mailing list:
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
 Post to : openstack@lists.openstack.org
 Unsubscribe :
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


​Maybe you've already done this and it's not what you want; but in my
setups I just use my own image with the appropriate modifications to
sshd.conf to enable password authenticated ssh.  Then I don't need to mess
with keys any longer which I think is what you're getting at.

You can do this pretty easily by using any one of the cloud images out
there that takes a key, modifying it and then building your own custom
image out of it.  ​
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] keypair workaround

2014-06-22 Thread Remo Mattei
you can inject your own key into your VM then you do not need to do anything 
special. 

Remo 


On Jun 22, 2014, at 12:42, Frans Thamura fr...@meruvian.org wrote:

 someone here setup openstack (based on mirantis) and i can ssh
 username@serverhost, and no need keypair
 
 but i setup here, need keypair.
 
 any idea?
 --
 Frans Thamura (曽志胜)
 Shadow Master and Lead Investor
 Meruvian.
 Integrated Hypermedia Java Solution Provider.
 
 Mobile: +628557888699
 Blog: http://blogs.mervpolis.com/roller/flatburger (id)
 
 FB: http://www.facebook.com/meruvian
 TW: http://www.twitter.com/meruvian / @meruvian
 Website: http://www.meruvian.org
 
 We grow because we share the same belief.
 
 
 On Mon, Jun 23, 2014 at 1:10 AM, Alberto Molina Coballes
 alb.mol...@gmail.com wrote:
 
 El 21/06/2014 20:17, Frans Thamura fr...@meruvian.org escribió:
 
 
 
 
 i want to make more common ssh without have to add -i keypair2.pem
 
 any idea?
 
 
 What about using ssh-agent?
 
 Alberto
 
 ___
 Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
 Post to : openstack@lists.openstack.org
 Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
 
 !DSPAM:1,53a73394282571596755094!
 


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] keypair workaround

2014-06-22 Thread Frans Thamura
Can tell me,  how to inject key?

I use Ubuntu Cloud Archive images.

I don't like this step,  anyway,  this is training guide model approach
official,  cmiiw

F
On Jun 23, 2014 2:56 AM, Remo Mattei r...@italy1.com wrote:

 you can inject your own key into your VM then you do not need to do
 anything special.

 Remo


 On Jun 22, 2014, at 12:42, Frans Thamura fr...@meruvian.org wrote:

  someone here setup openstack (based on mirantis) and i can ssh
  username@serverhost, and no need keypair
 
  but i setup here, need keypair.
 
  any idea?
  --
  Frans Thamura (曽志胜)
  Shadow Master and Lead Investor
  Meruvian.
  Integrated Hypermedia Java Solution Provider.
 
  Mobile: +628557888699
  Blog: http://blogs.mervpolis.com/roller/flatburger (id)
 
  FB: http://www.facebook.com/meruvian
  TW: http://www.twitter.com/meruvian / @meruvian
  Website: http://www.meruvian.org
 
  We grow because we share the same belief.
 
 
  On Mon, Jun 23, 2014 at 1:10 AM, Alberto Molina Coballes
  alb.mol...@gmail.com wrote:
 
  El 21/06/2014 20:17, Frans Thamura fr...@meruvian.org escribió:
 
 
 
 
  i want to make more common ssh without have to add -i keypair2.pem
 
  any idea?
 
 
  What about using ssh-agent?
 
  Alberto
 
  ___
  Mailing list:
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
  Post to : openstack@lists.openstack.org
  Unsubscribe :
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
 
  !DSPAM:1,53a73394282571596755094!
 


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] keypair workaround

2014-06-22 Thread qiaoliyong



nova will do it for you , you need to sepcify it in your nova command line.
make sure you have libguestfs installed.



--
此致
敬礼!

At 2014-06-23 07:39:53, Frans Thamura fr...@meruvian.org wrote:


Can tell me,  how to inject key?

I use Ubuntu Cloud Archive images.

I don't like this step,  anyway,  this is training guide model approach 
official,  cmiiw


F

On Jun 23, 2014 2:56 AM, Remo Mattei r...@italy1.com wrote:
you can inject your own key into your VM then you do not need to do anything 
special.

Remo


On Jun 22, 2014, at 12:42, Frans Thamura fr...@meruvian.org wrote:

 someone here setup openstack (based on mirantis) and i can ssh
 username@serverhost, and no need keypair

 but i setup here, need keypair.

 any idea?
 --
 Frans Thamura (曽志胜)
 Shadow Master and Lead Investor
 Meruvian.
 Integrated Hypermedia Java Solution Provider.

 Mobile: +628557888699
 Blog: http://blogs.mervpolis.com/roller/flatburger (id)

 FB: http://www.facebook.com/meruvian
 TW: http://www.twitter.com/meruvian / @meruvian
 Website: http://www.meruvian.org

 We grow because we share the same belief.


 On Mon, Jun 23, 2014 at 1:10 AM, Alberto Molina Coballes
 alb.mol...@gmail.com wrote:

 El 21/06/2014 20:17, Frans Thamura fr...@meruvian.org escribió:




 i want to make more common ssh without have to add -i keypair2.pem

 any idea?


 What about using ssh-agent?

 Alberto

 ___
 Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
 Post to : openstack@lists.openstack.org
 Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

 !DSPAM:1,53a73394282571596755094!


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] keypair workaround

2014-06-21 Thread Frans Thamura
hi all

i use keypair to ssh the instance inside openstack

this is my syntax

ssh –i keypair2.pem ubuntu@10.163.209.2

i want to make more common ssh without have to add -i keypair2.pem

any idea?

f

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] keypair workaround

2014-06-21 Thread Daniel Galambos

hi.

if you put your private key to ~/.ssh/id_rsa openSSH automatically tries 
it.  alternatively, you can specify it in  ~/.ssh/config file per-host 
(for syntax and config options, see man ssh_config).


Dancsa

2014.06.21. 20:03 keltezéssel, Frans Thamura írta:

hi all

i use keypair to ssh the instance inside openstack

this is my syntax

ssh –i keypair2.pem ubuntu@10.163.209.2

i want to make more common ssh without have to add -i keypair2.pem

any idea?

f

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack



___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack