An ssh connection aborts with the error "File size limit exceeded"
This occurs when you are using the fsize option in /etc/security/limits.conf
This is an OpenSSH issue that is caused by the size of the /var/log/lastlog file.
Lastlog is a sparse file which is seen as being over the fsize limit set in /etc/security/limits.conf.
The size of lastlog is determined by the highest UID number in use, therefore you are likely to encounter the issue if you are using high UID numbers in your environment.
The following Redhat article describes the lastlog size issue when using high UID numbers:
https://bugzilla.redhat.com/show_bug.cgi?id=771286
Contact your ssh vendor to determine if they have a fix for this defect.
Portable OpenSSH fixed this issue in August 2014 under defect number 2263.
WORKAROUND 1:
Use lower UID numbers.
Please see the following Knowledgebase article on how to set lower UID numbers for Authentication Services users:
https://support.quest.com/authentication-services/kb/125786
WORKAROUND 2:
Remove or increase the fsize entry in /etc/security/limits.conf until the issue has been resolved by your ssh vendor.
© 2025 One Identity LLC. ALL RIGHTS RESERVED. 이용 약관 개인정보 보호정책 Cookie Preference Center