ssh tunnel within remote ipsec
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2009 08:27 PM - edited 02-21-2020 04:07 PM
I have user who is testing our new asa appliances and tells me while connected overnight to our RA ipsec vpn connection stays the ssh sessions he has drop at some point but the vpn connection is still connected. This does not occur when he is connected to our current 3030 concentrator which leads me to believe I have a setting missing somewhere on my asa. Any ideas?
Eric
- Labels:
-
IPSEC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2009 06:34 PM
Hi,
RA ipsec vpn connection : Time out you can set under the: tunnel-group
SSH: There is default timeout set for SSH & telnets. You can change them to the value you want.
hth
MS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2009 07:07 PM
My settings for the tunnel-group are set to 8 hours but my understanding is that if this timeouts then the entire tunnel disconnects correct?
Also the telnet and ssh timeouts apply to connection to the appliance not to ssh sessions within the ipsec tunnel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2009 06:21 AM
Can you try by setting the vpn-idle-timeout <> under group policy..?
telnet and ssh timeouts apply to connection to the appliance not to ssh sessions within the ipsec tunnel.
That is correct. I misinterpreted your original query.
Thanks
MS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2009 07:15 AM
There are two ways to fix this problem:
1- increase the tcp timeout setting on the ASA.
Something like timeout 24:00:00 or something
like that.
2- enable ssh keepalive on ssh server itself.
Add this line in the /etc/ssh/sshd_config and
restart the sshd service after that:
KeepAlive yes
Easy right?
