[Openstack] Bypassing the keypair in Folsom

Sébastien Han han.sebastien at gmail.com
Tue Jan 22 21:30:18 UTC 2013


so you prefer to be asked for a password instead of log in passwordless?

as suggested, edit the base image and create a password for the user :)

--
Regards,
Sébastien Han.


On Tue, Jan 22, 2013 at 6:08 PM, Balamurugan V G
<balamuruganvg at gmail.com> wrote:
> My ssh debug logs are below:
>
> $ ssh -vvv root at 1.1.1.1
> OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: /etc/ssh/ssh_config line 19: Applying options for *
> debug2: ssh_connect: needpriv 0
> debug1: Connecting to 1.1.1.1 [1.1.1.1] port 22.
> debug1: Connection established.
> debug3: Incorrect RSA1 identifier
> debug3: Could not load "/home/balu/.ssh/id_rsa" as a RSA1 public key
> debug1: identity file /home/balu/.ssh/id_rsa type 1
> debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
> debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
> debug1: identity file /home/balu/.ssh/id_rsa-cert type -1
> debug1: identity file /home/balu/.ssh/id_dsa type -1
> debug1: identity file /home/balu/.ssh/id_dsa-cert type -1
> debug1: identity file /home/balu/.ssh/id_ecdsa type -1
> debug1: identity file /home/balu/.ssh/id_ecdsa-cert type -1
> debug1: Remote protocol version 2.0, remote software version OpenSSH_5.9p1
> Debian-5ubuntu1
> debug1: match: OpenSSH_5.9p1 Debian-5ubuntu1 pat OpenSSH*
> debug1: Enabling compatibility mode for protocol 2.0
> debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1
> debug2: fd 3 setting O_NONBLOCK
> debug3: load_hostkeys: loading entries for host "1.1.1.1" from file
> "/home/balu/.ssh/known_hosts"
> debug3: load_hostkeys: loaded 0 keys
> debug1: SSH2_MSG_KEXINIT sent
> Connection closed by 1.1.1.1
>
> Regards,
> Balu
>
>
> On Tue, Jan 22, 2013 at 10:31 PM, Balamurugan V G <balamuruganvg at gmail.com>
> wrote:
>>
>> Yes but I want to skip this feature of keypairs. I want to be able to SSH
>> with out needing the keypairs since security is not a concern in my private
>> cloud.
>>
>> Thanks,
>> Balu
>>
>> On Tue, Jan 22, 2013 at 10:29 PM, JuanFra Rodriguez Cardoso
>> <juanfra.rodriguez.cardoso at gmail.com> wrote:
>>>
>>> Hi Balu:
>>>
>>> Before launching an instance, you have to create a keypair
>>> (YOUR_DASHBOARD_IP/dashboard/nova/access_and_security/).
>>> Then, next time you launch an instance, you can choose that keypair
>>> created previously.
>>>
>>> Regards,
>>> JuanFra.
>>>
>>> 2013/1/22 Balamurugan V G <balamuruganvg at gmail.com>
>>>>
>>>> Hi,
>>>>
>>>> I have a Folsom private openstack cloud in which security is not a
>>>> concern. That is I dont really need the security groups and keypairs etc
>>>> offered by openstack. So all my instances are launched as part of the
>>>> default security group. I have even allowed all TCP and UDP ports(1 to
>>>> 65535) and ICMP.
>>>>
>>>> But when I try to SSH to the floating IP assigned to a Ubuntu instance,
>>>> I get connection refused. When I so 'ssh -vvv', I can see that the
>>>> connection is getting establish but is getting terminated. It seems due to
>>>> missing key pair.
>>>>
>>>> Is there a way to bypass the keypairs.
>>>>
>>>> Regards,
>>>> Balu
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~openstack
>>>> Post to     : openstack at lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~openstack
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>
>>>
>>>
>>> --
>>> JuanFra
>>
>>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>




More information about the Openstack mailing list