qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: ssh access from a Windows Host


From: Mark Jonckheere
Subject: [Qemu-devel] Re: ssh access from a Windows Host
Date: Thu, 25 Aug 2005 23:56:01 +0200
User-agent: KNode/0.9.1

Helmut Auer schreef:

> Hi List,
> 
> I tried to access the linux 2.6 client from the windows host via ssh
> using putty.
> therfore I started:
> qemu -user-net -redir tcp:5555::22 ...
> the sshd is started on the client, but
> putty -ssh localhost 5555
> does not work. Also using the own IP address instead of localhost does
> not help.
> Any hints what I am doing wrong ?
> 

This is maybe the same problem I reported on 8 sep 2004 in
  http://lists.gnu.org/archive/html/qemu-devel/2004-09/msg00188.html
 
The guest operating system receives IP packets with sending address
127.0.0.1 and tries to answer them via its own loopback interface
instead of the ne2000 interface to the host.

My patch detects this 127.0.0.1 address in the host-to-client direction
and replaces it with the address 10.0.2.2.

WARNING, the message I referenced has an attachment that repeats the
patches for slirp/slirp.c and slirp/misc.c correcting this problem,
but also adds a patch to correct a broadcast bug in slirp/udp.c
and adds the option to start in full-screen mode to vl.c, vl.h and sdl.c.

Please do *NOT* apply the part of the patch for the files: "vl.c, vl.h
and sdl.c" since the full-screen option is already included in the current
version of qemu. (The slirp/udp.c patch is safe, and even recommended since
it corrects an old bug.)

see also:
  http://lists.gnu.org/archive/html/qemu-devel/2004-08/msg00443.html

regards,
Mark.
-- 
:wq





reply via email to

[Prev in Thread] Current Thread [Next in Thread]