Hi, Is there a way to setup the console of a domU to be accessed from the network, through telnet or ssh - of course, binded only to localhost - directly from domain config? Regards, Zoltan HERPAI _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dnia Thursday 07 September 2006 11:11, Zoltan HERPAI napisał:> Hi, > > Is there a way to setup the console of a domU to be accessed from the > network, through telnet or ssh - of course, binded only to localhost - > directly from domain config?I don''t think so. There are some excellent tools, like [1] xen-shell, allowing you to set up limited user account on dom0. There is also a way of exposing consoles from xinnetd, described in FAQ [2] [1] - http://xen-tools.org/software/xen-shell/ [2] - http://wiki.xensource.com/xenwiki/XenFaq -- Tom Napierala DB Alliance Limited North Point House, New Mallow Road, Cork, Ireland The National Software Centre, Mahon, Cork, Ireland _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, Sep 07, 2006 at 12:11:04PM +0200, Zoltan HERPAI wrote:> Hi, > > Is there a way to setup the console of a domU to be accessed from the > network, through telnet or ssh - of course, binded only to localhost - > directly from domain config?I just submitted a patch to add the required functionality to xenconsole: http://marc.theaimsgroup.com/?l=xen-devel&m=115761418317052&w=2 Note that if you have ssh access to dom0, ''ssh dom0 xm console $DOMID'' should work too... Cheers, Muli _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thanks for your help, using xinetd for this seems to be a good solution. Regards, Zoltan HERPAI Tom Z. Napierala wrote:> Dnia Thursday 07 September 2006 11:11, Zoltan HERPAI napisał: > >> Hi, >> >> Is there a way to setup the console of a domU to be accessed from the >> network, through telnet or ssh - of course, binded only to localhost - >> directly from domain config? >> > > I don''t think so. There are some excellent tools, like [1] xen-shell, allowing > you to set up limited user account on dom0. There is also a way of exposing > consoles from xinnetd, described in FAQ [2] > > [1] - http://xen-tools.org/software/xen-shell/ > [2] - http://wiki.xensource.com/xenwiki/XenFaq >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Muli Ben-Yehuda wrote:> On Thu, Sep 07, 2006 at 12:11:04PM +0200, Zoltan HERPAI wrote: > >> Hi, >> >> Is there a way to setup the console of a domU to be accessed from the >> network, through telnet or ssh - of course, binded only to localhost - >> directly from domain config? >> > > I just submitted a patch to add the required functionality to > xenconsole: > http://marc.theaimsgroup.com/?l=xen-devel&m=115761418317052&w=2 > > Note that if you have ssh access to dom0, ''ssh dom0 xm console $DOMID'' > should work too... > > Cheers, > Muli >Thank your also, but this solution wouldn''t be a good idea since I will have a few customers, for whom I don''t want to give access to each other''s domU - assuming they will find out the other domU''s domID. Creating a chroot environment for them where they have only telnet, then create a uid-based rule with iptables, so that they can reach only their console port seems to be the solution. Regards, Zoltan HERPAI _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users