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: ServiceBase denies access to service name
    ... and has the exact same command line components as any other executable. ... Let's say that argof the command line parameters to a service process ... Your service class ... each with its own application configuration file. ...
    (microsoft.public.dotnet.framework)
  • Re: ServiceBase denies access to service name
    ... A service executable is just a normal Win32 binary and has the exact same command line components as any other executable. ... Let's say that argof the command line parameters to a service process was the service name, what would argbe in a service process that contained two services named: ... the same service class but the names must be set in the Main method of the ... > each with its own application configuration file. ...
    (microsoft.public.dotnet.framework)
  • Re: ServiceBase denies access to service name
    ... service code create a new app domain and setting up the application config to ... line arguments and I'm pretty sure that the first command line argument is ... the same service class but the names must be set in the Main method of the ... each with its own application configuration file. ...
    (microsoft.public.dotnet.framework)