I do not have a /etc/sysctl.conf on my Lion nor my Snow Leopard system.
Are you saying that your /etc/sysctl.conf was changed?
Or that the default values for net.inet.tcp.keepidle and net.inet.tcp.keepintvl were too small without a /etc/sysctl.conf file.
I found I could examine my sysctl values using
sysctl -a | grep tcp.keep
net.inet.tcp.keepidle: 7200000
net.inet.tcp.keepintvl: 75000
NOTE: I get the same values for both Lion and Snow Leopard.
All I'm asking is how your system got different values. If you had a /etc/sysctl.conf file that got changed that would explain it.
No matter what, it would be useful for anyone experiencing ssh disconnects to check their net.inet.tcp.keepidle and net.inet.tcp.keepintvl values.