Hi Ben,
the only possibility is for you to connect via ssh after connecting to the
vpn. The problem lies that ssh uses tcp, which uses sockets: that means a
local to the computer port is binded to an iport. Once the ip is changed,
the socket cannot be used again, as in the case when using a vpn.


На Monday 03 November 2008 16:41:30 Ben Kim написа:
> Dear list,
> I need to keep a ssh connection open from my windows PC to a linux
> workstation for various tasks that can be done better in linux
> environment.
> But a couple times a day, from the same windows PC, I also need to remote
> desktop into an off-site windows server, using cisco vpn.
> My problem is that as soon as the vpn is connected, my IP changes, and I
> lose the ssh connection (because this vpn client disallows "local LAN
> access"). I cannot change the vpn client setting.
> Is there a way to let the ssh connection survive the vpn connection?
> Regards,
> Ben Kim