well do you have access to the terminal? if so don't worry about it, just backup your ssh file
cp /etc/pam.d/ssh /etc/pam.d/ssh.bckup
and if you run into problems, then just login via the termial and restore it
cp /etc/pam.d/ssh.nckup /etc/pam.d/ssh
Try this out for a how-to
http://www.yourhowto.org/content/view/35/9/