Forum Discussion
Chris_15973
Nimbostratus
Nov 29, 2007Log SSH session information
Please forgive me for my inexperience.
My users SSH to LB'd servers and are being dropped before the timeout setting of 7200 seconds. I am troublshooting to find out why.
I want to create an iRule that logs when a session starts and when it ends, and the details about that session. I can track using the session ID.
I know the basic setup of the irule could be something as follows:
When {
log
}
When {
log
}
I just need to know the TCL commands for SSH session, and I couldn't find anything in these forums or in google searches for syntax. Any ideas?
Thank You in advance for any help!
- JRahm
Admin
is that timeout set on the server or the load balancer? If only on the server, you'll need to set the idle timeout on the tcp profile associated with your virtual to 7200 as well. - Chris_15973
Nimbostratus
I need to clarify this, i actually confused myself! - Chris_15973
Nimbostratus
I would rather not mess with the default tcp timeout of 300 seconds, since I want a 7200 second timeout and I don;t want all sessions to wait that long (could be too much overhead). I'll find a way to limit this to port 22. - JRahm
Admin
You could specify a forwarding virtual for port 22 only, then apply a custom fastl4 profile with the idle timeout set at 7200. - Chris_15973
Nimbostratus
This is turning out to be more of an actual issue with this redundant pair than anything.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects