Re: cygwin + ssh + VPN very slow



jeanluc wrote:
From home I have a VPN tunnel connection to the network back at the
office.

At home I use cygwin on my XP box and through the VPN tunnel I am
successful in opening up an XTERM connection to a new 64 bit, redhat
LINUX computer in the office. To start the xterm I use

$ startxwin.bat

In the xterm that pops up I type

$ ssh -Y user@computer_name

Firstly I am not sure why you need VPN. If your office machine is not firewalled or at least ssh access is not blocked, you just just ssh into it from your home machine (I recommend putty as the win32 ssh client), and enable X forwarding. And you run any X server on your home machine. Then problem solved.


Even if you cannot directly ssh into your office machine, but you can ssh into your company firewall them jump to your office machine. You can still achieve this without VPN. What you need to do, is to use ssh proxy command to redirect everything to your linux machine at office. Here is a good read,
http://www.hackinglinuxexposed.com/articles/20040830.html


The last chance you need vpn, I would recommend OpenVPN. It is easy to set up, and very secure, crossplatform.

As for X server, I personally prefer Xming,
http://wiki.freedesktop.org/wiki/Xming
It is lightweight. It doesn't depend on cygwin enviroment (this is sometime useful as only one version of cygwin1.dll can be run on the system; so if you have several programs relying on cygwin and each only works with different version of cygwin, you are then out of luck). I found the commbination of putty+Xming is more flexible than openssh+cygwin/X.


HTH,

KB
--
NT stands for New Technology. Windowds NT(NT4.x)/2K(NT5.0)/XP(NT5.1)
was built on NT Technology. Anyone understands what "new" means, so
everyone knows M$ Windoze NT/2K/XP/Whatever is a *real* innovation.
.



Relevant Pages

  • Re: IPSec VPN into XP Pro
    ... This page has more information concerning the XP VPN... ... As far as SSH is concerned, I just think its a whole lot easier for home users like myself to setup ... a few consumer grade routers and the problems encountered getting a PPTP tunnel through them... ... > tunnel and set up secure redirections via command line. ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: Relationship SSH <-> VPN ??
    ... I'm not sure whether you're most probably referring to *SSL* vs. VPN, ... and not SSH. ... A Virtual Private Network, VPN, is a secure "network" built on top of ...
    (comp.security.misc)
  • Re: Relationship SSH <-> VPN ??
    ... I'm not sure whether you're most probably referring to *SSL* vs. VPN, ... and not SSH. ... A Virtual Private Network, VPN, is a secure "network" built on top of ...
    (comp.os.linux.security)
  • Re: Relationship SSH <-> VPN ??
    ... I'm not sure whether you're most probably referring to *SSL* vs. VPN, ... and not SSH. ... A Virtual Private Network, VPN, is a secure "network" built on top of ...
    (comp.security.firewalls)
  • Re: Relationship SSH <-> VPN ??
    ... I'm not sure whether you're most probably referring to *SSL* vs. VPN, ... and not SSH. ... A Virtual Private Network, VPN, is a secure "network" built on top of ...
    (comp.security.ssh)