When connecting to Linux/Unix machines with SSH you receive an error "xmalloc: zero size"
This is an upstream ssh defect and usually occurs when the linux/unix host has an empty SSH banner configured.
WORKAROUND
Check the sshd_config for the location of the banner (usually /etc/ssh/sshd_config). A default SSH installation will point the banner to /etc/banner or /etc/issue. The line will usually look something like below:
#no default banner path
Banner /etc/banner
Next check to see that the banner is not empty by performing cat /etc/banner(or whatever the banner name may be). If the prompt returns without any data, then this value should be commented out in the sshd_config and sshd restarted. Example below:
root@redhat #cat /etc/banner
root@redhat # <----This indicates an empty banner
root@redhat #cat /etc/banner
root@redhat # <-----This empty line above indicates a banner with just a return character
If either of these are true , then you should just comment out the Banner definition by:
#Banner /etc/banner
RESOLUTION
Issue fixed in TPAM 2.5.
© 2024 One Identity LLC. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center