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] console access for domU owners

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] console access for domU owners
From: Stephen Le <zeroion@xxxxxxxxx>
Date: Tue, 18 Oct 2005 05:36:02 -0700
Delivery-date: Tue, 18 Oct 2005 17:05:23 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kIB4YRE55UT2Wzjg4cDqEl73TYsYYtHD5A7Q0jijqzPCq21ewg96oOT0tjS5/aXIN8LW6C/n+7Xo31X+26a0UC3JgQ5/aGZZjjx8CWB66qYNCLV8ipGriYXl579uXsEyWwug2pj+4cpHnnqtSqgET3ksPOTRp9fPqtXGnimRaGo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <3f9fee510510160704p23c92a97j8db62a3aba0b69c3@xxxxxxxxxxxxxx>
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: <A95E2296287EAD4EB592B5DEEFCE0E9D32E3E2@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <3f9fee510510160704p23c92a97j8db62a3aba0b69c3@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 10/16/05, Stephen Le <zeroion@xxxxxxxxx> wrote:
> It appears that my best hope is using, as a login shell, a script that
> calls telnet. The script will determine the UID, lookup the
> appropriate console port, and launch a telnet session (with the escape
> character disabled).

I eventually realized that using a simple Perl script to launch "xm
console <domU_name>" worked better that using telnet. I disabled SFTP
and port forwarding on my SSH daemon, and I instructed my script die
if it was passed any command line arguments in case somebody tried to
instruct SSH to execute a command (ex. ssh user@server
some_bad_command).

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

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