Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-users

Re: [Xen-users] how to switch domains in ssh terminal?

To: Daniel Hulme <dh286@xxxxxxxxx>
Subject: Re: [Xen-users] how to switch domains in ssh terminal?
From: Jeremy Enos <jenos@xxxxxxxxxxxxx>
Date: Tue, 19 Jul 2005 12:13:30 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 20 Jul 2005 09:21:04 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20050719100001.0d953519@xxxxxxxxxxxxxxxxxxx>
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: <42DC3A10.9080102@xxxxxxxxxxxxx> <20050719100001.0d953519@xxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.5 (Windows/20050711)
Yep... had gone the ssh route to domain1 and that worked fine. My main problem was the domain0 terminal that I had "stuck" in domain1 because I didn't know how to get back out of it w/o shutdown of domain1. You told me exactly what I needed to know. I dug and dug in the documentation but never found that.
thanks-

   Jeremy


Daniel Hulme wrote:

Hi there-
I've set up a Fedora4 xen domain0, and a Fedora4 domain1.  The
physical  host is in a remote location.  How do I switch domains on a
remote  connection (via ssh)?
You don't 'switch' domains, you are always connected to the domain you
ssh'ed into. If you want to get at domain 1 from dom0, use
xm console <name>
where <name> is the name of the domain you want (you can find it with xm
list). This gets you console of the domain. Sending ^] (ctrl-]) gets you
out of the console. For security reasons, you can get at user domains
from dom0 like this, but not vice-versa.

The other option is to ssh into the IP address you gave to domain 1
instead of to the IP address of dom0. Obviously this will only work if
you configured the domain to have a network interface and if it is
running sshd.

HTH,
Daniel


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

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