Added a way for ssh pushed to determine if its allowed