The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Ubuntu
.
google unix.com



Ubuntu Ubuntu is a complete desktop Linux operating system, freely available with both community and professional support.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
All exisiting connections from AIX 5.3 ajeeb AIX 5 02-05-2009 09:22 PM
max connections aix invinzin21 Shell Programming and Scripting 0 02-12-2008 04:46 AM
Two SQL connections..suggest changes. bhagat.singh-j Shell Programming and Scripting 0 10-25-2006 02:21 AM
Problems with connections Lestat UNIX for Advanced & Expert Users 8 06-01-2005 02:25 PM
HP-UX: X connections...? abhayh HP-UX 0 04-25-2005 05:22 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-23-2009
lzcool lzcool is offline
Registered User
  
 

Join Date: Jan 2009
Posts: 13
SSH droping connections over a VPN

Hello friends,

I'm connection to an external network using a VPN configured over an Ubuntu.

The problem is that whenever I get connected to a remote computer using my VPN as router, after a while, sometimes short, sometimes long, sometimes immediately, the connection gets lost and I've to reconnect to the remote computer.

I've checked the ssh configuration on the machine running the VPN and I think the error is not coming from that way, I'm guessing the VPN somehow fails and drops the connection, I don't think this is a networking issue either because I can be connected using another vpn program like Cisco's and the connection won't fail

Any information on how could I check where the SSH connection fails would be appreciated. also, if anyone has been in a similar situation and has information I might find useful would ve very welcome.

Thanks in advance
  #2 (permalink)  
Old 10-05-2009
Phil_FL's Avatar
Phil_FL Phil_FL is offline
Registered User
  
 

Join Date: Sep 2009
Location: Broward county, FL
Posts: 13
Quote:
Originally Posted by lzcool View Post
...
The problem is that whenever I get connected to a remote computer using my VPN as router, after a while, sometimes short, sometimes long, sometimes immediately, the connection gets lost and I've to reconnect to the remote computer...
Without much activity the connection drop.
on the client side you could try to
Code:
ssh -o ServerAliveInterval=2
If it works you can set your ServerAliveInternal to whatever works (2 5 10 100 ?) in /etc/ssh/ssh_config

Basically it creates traffic to keep your session alive.

On the server side you could check or modify the ClientAliveInterval
Sponsored Links
Reply

Bookmarks

Tags
linux, ssh, vpn

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:44 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0