[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#592550: Provide support for SSH-Key authentication (Supports Eucalyptus and Amazon EC2)



On Sep 10, 2011, at 09:30, Charles Plessy wrote:
> Le Tue, Aug 10, 2010 at 04:49:51PM -0400, Kyle Moffett a écrit :
>> The Ubuntu guys seem to have a patch for this that never got merged:
>>  https://bugs.launchpad.net/ubuntu/+source/network-console/+bug/184108
> 
> I think that it would wonderful if Ubuntu's patch were applied in Debian.  Here
> is a slimmed down version of it, where I removed the Ubuntu-specific parts
> changing debian/control, the changelog and .gitignore files, …
> 
> http://patches.ubuntu.com/n/network-console/network-console_1.28ubuntu1.patch
> 
> [... patch snipped ...]
> 
> Please let me know how I can help to make this happen.


Charles,

My latest patch (attached) provides a bunch more features for installing
in virtualized environments.  You can also download it at this URL:
  http://opensource.exmeritus.com/debian-ami/network-console-1.29+euca01.patch

Specifically, my patch allows you enable both password and public-key auth,
by preseeding both a password and the authorized_keys URL.  If you don't
want to enable password authentication, you can preseed "password-disabled"
instead.

Additionally, I add a "publi-ip-url" key which causes the "IP" value in the
network-console message to be obtained from the virtualized hosting system.

Finally, I rewrite the post-base-installer hook to automatically copy the
authorized_keys file to the newly created user on the target system.  If
a non-root user was created during the installation then the key is copied
to that user, otherwise it is copied to root.

Cheers,
Kyle Moffett

Attachment: network-console-1.29+euca01-1.patch
Description: Binary data


Reply to: