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

Re: [Xen-users] SSH Console access

To: h.diehm@xxxxxxxxx
Subject: Re: [Xen-users] SSH Console access
From: "Ryan Burke" <burke@xxxxxxxxxxxxxxxxx>
Date: Tue, 14 Nov 2006 13:27:28 -0600 (CST)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 14 Nov 2006 11:27:48 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <200611141959.49113.h.diehm@xxxxxxxxx>
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>
References: <22601.199.46.199.230.1163528593.squirrel@xxxxxxxxxxxxxxxxxxxxx> <200611141959.49113.h.diehm@xxxxxxxxx>
Reply-to: burke@xxxxxxxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: SquirrelMail/1.4.8
Thanks, that was one of the possible solutons, but like you said it feels
a bit clumsy, however it should work. I was worried about scalability,
especially since these users will be spanning multiple boxes. Although i
don't see having 30k+ users at the moment :).

If anyone has anymore ideas I'd love to here them. It would be great if
the devs would add SSH as part of the console protocol instead of
cleartext. Oh well, maybe I'll take a look.

Thanks again.
Ryan


> somehow my post to the list doesnt seem to get through.
> perhaps it'll show up later.
>
> so here especially to you
> ...
> ...
> Hi,
>
> I do it with a dedicated user per vm.
> a seperate sshd on a highport allows login only for the vm-users.
>
> then I added "sudo /usr/sbin/xm console vmname" to sudoers for this user
> and then simply put
>
> sudo /usr/sbin/xm console VM-Frank
> exit
>
> into .bashrc
>
> so on login the console gets started automatically and on termination of
> the console-session it exits properly.
>
> sure there are better ways to do this (perhaps a more secure way), but it
> works for me
>
> Holger
>
>
> Am Dienstag, 14. November 2006 19:23 schrieb burke@xxxxxxxxxxxxxxxxx:
>> I've been playing around with this, but have yet to be successful.
>>
>> I am trying to figure out how to SSH to my Dom0 IP and some static port
>> and then redirect the "xm console <domU>" into the SSH session. Has
>> anyone
>> been successful in doing this? Really the only option I've seen is using
>> "screen" on the /dev/pts/[1-x] console device, but that seems overly
>> complicated. I'm using Xen 3.0.3 with CentOS 4.4 Dom0 and Ubuntu,
>> Debian,
>> CentOS DomU's.
>>
>> Any suggestions/examples would be appreciated.
>>
>> Thanks,
>> Ryan
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-users
>>
>>
>


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

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