Re: Windows Remote Desktop over ssh



Thanks a lot Todd.

Todd H. wrote:

> Did you really have a space between the first colon and the 10? If
> so try without that space as in
> ssh -L 3389:10.1.169.25:3389 usern...@xxxxxxxxxxxxxxxxxxxxxxx

On my windows - I am running the cygwin sshd and X server. While I
was doing this testing - I was copying from X windows - and for god
knows what reason - this gives a space between the first colon and
the 10, when I paste the command elsewhere. (I usually manually delete
the space - but this time I forgot.

> if that fails try
> ssh -L 3389:127.0.0.1:3389 usern...@xxxxxxxxxxxxxxxxxxxxxxx

Doesn't work either

> If it still doesn't work can you tell us what ssh server you're
> running on that windows box?

Cygwin SSHD

> Perhaps post the config file for the
> sshd?

# $OpenBSD: ssh_config,v 1.20 2005/01/28 09:45:53 dtucker Exp $

# This is the ssh client system-wide configuration file. See
# ssh_config(5) for more information. This file provides defaults for
# users, and the values can be changed in per-user configuration files
# or on the command line.

# Configuration data is parsed as follows:
# 1. command line options
# 2. user-specific file
# 3. system-wide file
# Any configuration value is only changed the first time it is set.
# Thus, host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.

# Site-wide defaults for some commonly used options. For a
comprehensive
# list of available options, their meanings and defaults, please see
the
# ssh_config(5) man page.

# Host *
# ForwardAgent no
# ForwardX11 no
# RhostsRSAAuthentication no
# RSAAuthentication yes
StrictHostKeyChecking no
PasswordAuthentication no
PermitEmptyPasswords yes
# HostbasedAuthentication no
# BatchMode no
# CheckHostIP yes
# AddressFamily any
# ConnectTimeout 0
# StrictHostKeyChecking ask
# IdentityFile ~/.ssh/identity
# IdentityFile ~/.ssh/id_rsa
# IdentityFile ~/.ssh/id_dsa
# Port 22
# Protocol 2,1
# Cipher 3des
# Ciphers
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
# EscapeChar ~




> The symptoms you're telling us seem like perhaps port
> forwarding is turned off on your windows ssh server? But then again
> the test you did from the windows box to itself with
> -L3390:127.0.0.1:3389 and rdesktoping to 127.00.1:3390 I suppose rules
> that out.
>

I think port forwarding is turned off on my Linux machine - I would
have to talk to my network admin about it.

> Another netstat command that might be helpful in debugging is
> sshclientmachine$ netstatn -an | grep 3389

This command gives no output - so that's why I am thinking that
port forwarding is actually not taking place.


> Strange that setting up the reverse listener works, but the forward
> one does not.
>

Even I found it strange - at least now since I have a way I can
automate it - even if it seems odd.

Thanks once again.
O.O.

.



Relevant Pages

  • Boot Order
    ... How do I execute a program or command before windows ... I want to copy a configuration file ...
    (microsoft.public.win2000.setup)
  • Re: [SLE] LiLo configuration for 3 OS-es on the same machine.
    ... I can start the SuSE and Windows XP (I use ... > configuration file. ... > file of GRUB should be? ... at the command line and read that. ...
    (SuSE)
  • Re: regsvr32 error code 0x80004002
    ... configuration file. ... Regarding DLL hell, I want to talk it from another perspective. ... Per-application Configuration on Windows XP ... To have it work, you must install Application ...
    (microsoft.public.vc.mfc)
  • Re: A clean OS?
    ... >>> There is practically nothing you can do in Windows that you can't ... > 1/2) From a command line, there's one less step, from a GUI X-Windows ... > the website virtually hosted in the conf file. ... have a GUI which served to edit an ASCII configuration file, ...
    (alt.computer.security)
  • Re: W2003 Server SP2 Problems with W32TM
    ... I've tested a W2k3 box time synchronization by setting the server using ... the net time interface was written. ... Send SIGHUP to the daemon, the daemon catches the signal, rereads the configuration file and starts making changes! ... config" command on those platforms that do not support the signal events? ...
    (comp.protocols.time.ntp)