WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] virtual machines, DHCP, and ssh?

To: xen-users@xxxxxxxxxxxxxxxxxxx <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] virtual machines, DHCP, and ssh?
From: Tom Horsley <tom.horsley@xxxxxxx>
Date: Fri, 8 Feb 2008 17:36:15 -0500
Delivery-date: Fri, 08 Feb 2008 14:37:00 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Just curious if anyone knows if there is a way to get
ssh host keys set by DHCP?

We've got a limited number of IP addrs for VMs (because
there are a limited number of VMs that can boot at the
same time before we run out of memory on the host :-).

But we have a gazillion or so VMs for testing different
linux distributions and wot-not.

I'd love to setup DHCP on the Xen host and just allocate
whatever IP is available to whatever new VM was just booted,
but with different VMs reusing the same IP addrs, everyone's
ssh clients will constantly be honking at them about the
host keys changing.

Anyone encountered this and have a nifty work-around?

Is my best bet to invent a new init script that runs before
sshd is started to check what IP I have and copy the appropriate
ssh host keys into /etc/ssh? (Then try and remember to get that
init script installed on all the VMs :-).

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>