qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] ssh access from a Windows Host
@ 2005-08-25 18:39 Helmut Auer
  2005-08-25 21:56 ` [Qemu-devel] " Mark Jonckheere
  2005-08-26  7:23 ` [Qemu-devel] " Kazu
  0 siblings, 2 replies; 4+ messages in thread
From: Helmut Auer @ 2005-08-25 18:39 UTC (permalink / raw)
  To: qemu-devel

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 ?

-- 
Helmut Auer, helmut@helmutauer.de 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Qemu-devel] Re: ssh access from a Windows Host
  2005-08-25 18:39 [Qemu-devel] ssh access from a Windows Host Helmut Auer
@ 2005-08-25 21:56 ` Mark Jonckheere
  2005-08-26  7:23 ` [Qemu-devel] " Kazu
  1 sibling, 0 replies; 4+ messages in thread
From: Mark Jonckheere @ 2005-08-25 21:56 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] ssh access from a Windows Host
  2005-08-25 18:39 [Qemu-devel] ssh access from a Windows Host Helmut Auer
  2005-08-25 21:56 ` [Qemu-devel] " Mark Jonckheere
@ 2005-08-26  7:23 ` Kazu
  1 sibling, 0 replies; 4+ messages in thread
From: Kazu @ 2005-08-26  7:23 UTC (permalink / raw)
  To: qemu-devel


Friday, August 26, 2005 3:39 AM Helmut Auer wrote:


> 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 ?
> 

What is your guestOS's IP address? If it is 10.0.2.16, options should be

qemu.exe -user-net -redir tcp:5555:10.0.2.16:22 ...

Regards,
Kazu

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] ssh access from a Windows Host
@ 2005-08-26  9:15 vdr
  0 siblings, 0 replies; 4+ messages in thread
From: vdr @ 2005-08-26  9:15 UTC (permalink / raw)
  To: Qemu-devel

[-- Attachment #1: Type: text/plain, Size: 249 bytes --]


> > Any hints what I am doing wrong ?
> > > 
> What is your guestOS's IP address? If it is 10.0.2.16, options should be
> 
> qemu.exe -user-net -redir tcp:5555:10.0.2.16:22 ...
> 
Thanks a lot - that did the trick :-)

Regards 
Helmut


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-08-26  9:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-25 18:39 [Qemu-devel] ssh access from a Windows Host Helmut Auer
2005-08-25 21:56 ` [Qemu-devel] " Mark Jonckheere
2005-08-26  7:23 ` [Qemu-devel] " Kazu
  -- strict thread matches above, loose matches on Subject: below --
2005-08-26  9:15 vdr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).