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 between DomUs in Xen3.2

To: Waldirio Manhães Pinheiro <waldirio@xxxxxxxxx>
Subject: Re: [Xen-users] ssh between DomUs in Xen3.2
From: "David Grundy" <grundy@xxxxxxx>
Date: Sun, 15 Jun 2008 22:35:19 -0700 (PDT)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 15 Jun 2008 22:35:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to:
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:
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: SquirrelMail/1.4.9a
Hi Waldirio:

I tried telnet earlier from one DomU to another

[root@localhost ~]# telnet 192.168.17.201 22
Trying 192.168.17.201...
Connected to 192.168.17.201 (192.168.17.201).
Escape character is '^]'.

and then it just hangs...
So it looks like I can connect to the port from DomU to DomU.

But from Dom0 to a DomU

[root@gxn-wn2 ~]# telnet 192.168.17.201 22
Trying 192.168.17.201...
Connected to 192.168.17.201 (192.168.17.201).
Escape character is '^]'.
SSH-1.99-OpenSSH_3.9p1
Connection closed by foreign host.


I am scratching my head...

David


>     Hello David
>
>   Let's try fix this problem. In the second machine, which work fine, on
> link http://rafb.net/p/1HnPnm90.html at line 408 you can see, the client
received the string "SSH-1.99-OpenSSH-3.9p1\n" and continue the process
normally, at the firts machine http://rafb.net/p/SRoQE434.html at line
310,
> the client hang up at this point.
>
> You may test with the command #telnet 192.168.17.201 22, which normally you
> will receive a answer like below
>
> [root@cerberos ~]# telnet 192.168.0.11 22
> Trying 192.168.0.11...
> Connected to 192.168.0.11 (192.168.0.11).
> Escape character is '^]'.
> *SSH-2.0-OpenSSH_4.3*
>
> Protocol mismatch.
> Connection closed by foreign host.
>
> PS: Probably you will be a delay to show *SSH-2.0-OpenSSH_4.3* string,
so
> ..., your problem.
>
> I had this problem with WindowsXP 64, which there aren't ssh server with
support to arch 64, however, try re-install or update your ssh server.
>
> Good Luck
> Waldirio
>
> 2008/6/13 David Grundy <grundy@xxxxxxx>:
>
>> Hi again:
>> I followed your instruction and the output is here:
>> http://rafb.net/p/1HnPnm90.html
>> Thanks again.
>> David
>> >     Hello
>> >
>> > Pls, repeat the procedure in one machine that work fine ssh between
>> their
>> > and past the out here too http://rafb.net/paste/. With boths we can
compare
>> > where the system was hang and what can we change to fix the problem.
>> >
>> > Cheers
>> > Waldirio
>> >
>> > 2008/6/13, David Grundy <grundy@xxxxxxx>:
>> >>
>> >> Thanks Waldirio:
>> >>
>> >> Here is the link:
>> >>
>> >> http://rafb.net/p/SRoQE434.html
>> >>
>> >> Cheers,
>> >>
>> >> David
>> >>
>> >>
>> >> > David
>> >> >
>> >> > I'll check later, because at my work, the http://pastebin.com are
>> >> blocked,
>> >> > so, only at home or if is possible to you, paste here pls -
http://rafb.net/paste/
>> >> >
>> >> > Best Regards
>> >> >
>> >> > 2008/6/13, David Grundy <grundy@xxxxxxx>:
>> >> >>
>> >> >> Hello Waldirio:
>> >> >>
>> >> >> Thanks for you advice.  I was not aware of strace.  I followed
you
>> >> >> advice
>> >> >> and posted the output at http://pastebin.com/m1eec8e45.  The
>> output
>> >> is
>> >> a
>> >> >> little cryptic for me so any assistance would be greatly
>> appreciated.
>> >> >>
>> >> >> Cheers,
>> >> >>
>> >> >> David
>> >> >>
>> >> >>
>> >> >> >    Hello David
>> >> >> >
>> >> >> >  Try check with command below
>> >> >> >
>> >> >> > # strace ssh 192.168.17.200
>> >> >> >
>> >> >> > If need help to debug a trace, create a output file and post in
http://pastebin.com/ for example, later send here.
>> >> >> >
>> >> >> > Good Luck
>> >> >> > Waldirio
>> >> >> >
>> >> >> > 2008/6/12 David Grundy <grundy@xxxxxxx>:
>> >> >> >
>> >> >> >>
>> >> >> >> Hello All:
>> >> >> >>
>> >> >> >> I am working with a small cluster running Xen3.2 on Scientific
>> >> Linux
>> >> >> 5
>> >> >> >> on
>> >> >> >> the worker nodes.  I have been trying to mess around with some
>> >> >> different
>> >> >> >> network configurations and have stumbled upon something that
>> seems
>> >> >> very
>> >> >> >> strange to me.  My DomUs can connect with the Dom0 and
external
>> >> >> network
>> >> >> >> (ping,ssh,etc), I can connect with the DomUs from the head
node
>> >> and
>> >> >> Dom0
>> >> >> >> (ping,ssh,etc) and I can ping the DomUs from one another BUT
>> when
>> >> I
>> >> >> try
>> >> >> >> to
>> >> >> >> ssh from one DomU to another it just hangs.
>> >> >> >>
>> >> >> >>
>> >> >> >> [root@localhost ~]# ssh -vvv 192.168.17.200
>> >> >> >> OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003
>> >> >> >> debug1: Reading configuration data /etc/ssh/ssh_config debug1:
Applying options for *
>> >> >> >> debug2: ssh_connect: needpriv 0
>> >> >> >> debug1: Connecting to 192.168.17.200 [192.168.17.200] port 22.
debug1: Connection established.
>> >> >> >> debug1: permanently_set_uid: 0/0
>> >> >> >> debug1: identity file /root/.ssh/identity type -1
>> >> >> >> debug3: Not a RSA1 key file /root/.ssh/id_rsa.
>> >> >> >> debug2: key_type_from_name: unknown key type '-----BEGIN'
debug3: key_read: missing keytype
>> >> >> >> debug3: key_read: missing whitespace
>> >> >> >> debug3: key_read: missing whitespace
>> >> >> >> debug3: key_read: missing whitespace
>> >> >> >> debug3: key_read: missing whitespace
>> >> >> >> debug3: key_read: missing whitespace
>> >> >> >> debug3: key_read: missing whitespace
>> >> >> >> debug3: key_read: missing whitespace
>> >> >> >> debug3: key_read: missing whitespace
>> >> >> >> debug3: key_read: missing whitespace
>> >> >> >> debug3: key_read: missing whitespace
>> >> >> >> debug3: key_read: missing whitespace
>> >> >> >> debug3: key_read: missing whitespace
>> >> >> >> debug3: key_read: missing whitespace
>> >> >> >> debug2: key_type_from_name: unknown key type '-----END'
debug3: key_read: missing keytype
>> >> >> >> debug1: identity file /root/.ssh/id_rsa type 1
>> >> >> >> debug1: identity file /root/.ssh/id_dsa type -1
>> >> >> >>
>> >> >> >> And here it just hangs...
>> >> >> >>
>> >> >> >> In the /var/log/secure file on the vm I am trying to connect
to
>> >> the
>> >> >> >> following line shows up after I <ctrl> c the ssh command:
>> >> >> >>
>> >> >> >> Jun 12 14:13:03 localhost sshd[2478]: Did not receive
>> >> identification
>> >> >> >> string
>> >> >> >> from ::ffff:192.168.17.201
>> >> >> >>
>> >> >> >> I have located the following post that was never responded to.

>> I
>> >> am
>> >> >> not
>> >> >> >> sure if this is the same problem.
>> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> http://lists.xensource.com/archives/html/xen-users/2008-01/msg00951.html
>> >> >> >>
>> >> >> >> I have not modified the xend-config.sxp file so I am using all
>> the
>> >> >> >> default
>> >> >> >> scripts.  I have tried this on Xen3.1.0 and I am finding the
>> same
>> >> >> >> problem.
>> >> >> >>
>> >> >> >> Any help would be greatly appreciated.
>> >> >> >>
>> >> >> >> David
>> >> >> >>
>> >> >> >> _______________________________________________
>> >> >> >> Xen-users mailing list
>> >> >> >> Xen-users@xxxxxxxxxxxxxxxxxxx
>> >> >> >> http://lists.xensource.com/xen-users
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > ______________
>> >> >> > Atenciosamente
>> >> >> > Waldirio
>> >> >> > msn: wmp@xxxxxxxxxxxxx
>> >> >> > Site: www.waldirio.com.br
>> >> >> > Blog: blog.waldirio.com.br
>> >> >> > PGP: www.waldirio.com.br/public.html
>> >> >> > _______________________________________________
>> >> >> > 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
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > ______________
>> >> > Atenciosamente
>> >> > Waldirio
>> >> > msn: wmp@xxxxxxxxxxxxx
>> >> > Site: www.waldirio.com.br
>> >> > Blog: blog.waldirio.com.br
>> >> > PGP: www.waldirio.com.br/public.html
>> >> >
>> >>
>> >>
>> >>
>> >>
>> >>
>> >
>> >
>> > --
>> > ______________
>> > Atenciosamente
>> > Waldirio
>> > msn: wmp@xxxxxxxxxxxxx
>> > Site: www.waldirio.com.br
>> > Blog: blog.waldirio.com.br
>> > PGP: www.waldirio.com.br/public.html
>> >
>
>
> --
> ______________
> Atenciosamente
> Waldirio
> msn: wmp@xxxxxxxxxxxxx
> Site: www.waldirio.com.br
> Blog: blog.waldirio.com.br
> PGP: www.waldirio.com.br/public.html
>







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

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