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 _______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel