We ran the role in rabbitmq_agents#164 to add ssh denied groups to gpfs5 login node for hold and certification state but the message is not showing while connecting via sshpiper.
The latest PR tg123/sshpiper#548 enable this, tested build in my dev cluster. But seems like it will retry until fail2ban kicks in:
# The user is in hold state$ ssh -l diedpigs@gmail.com 138.26.49.27Your account is currently on hold.\n Please reach out to administrator to clear your account.\nYour account has expired; please contact your system administratoraccount expired 2 days agoYour account is currently on hold.\n Please reach out to administrator to clear your account.\nYour account has expired; please contact your system administratoraccount expired 2 days agoYour account is currently on hold.\n Please reach out to administrator to clear your account.\nYour account has expired; please contact your system administratoraccount expired 2 days agoYour account is currently on hold.\n Please reach out to administrator to clear your account.\nYour account has expired; please contact your system administratoraccount expired 2 days agoYour account is currently on hold.\n Please reach out to administrator to clear your account.\nYour account has expired; please contact your system administratoraccount expired 2 days agoYour account is currently on hold.\n Please reach out to administrator to clear your account.\nYour account has expired; please contact your system administratoraccount expired 2 days agoYour account is currently on hold.\n Please reach out to administrator to clear your account.\nYour account has expired; please contact your system administratoraccount expired 2 days agodiedpigs@gmail.com@138.26.49.27: Permission denied (publickey).$ ssh -l diedpigs@gmail.com 138.26.49.27Connection closed by 138.26.49.27 port 22# Change the user to certification state$ ssh -l diedpigs@gmail.com 138.26.49.27Account certification is required.\n Please reach out to administrator to clear your account.\nAccount certification is required.\n Please reach out to administrator to clear your account.\nAccount certification is required.\n Please reach out to administrator to clear your account.\nAccount certification is required.\n Please reach out to administrator to clear your account.\nAccount certification is required.\n Please reach out to administrator to clear your account.\nAccount certification is required.\n Please reach out to administrator to clear your account.\nAccount certification is required.\n Please reach out to administrator to clear your account.\ndiedpigs@gmail.com@138.26.49.27: Permission denied (publickey).