make sure ssh do not ask password

For some reason, ssh seems to ask for password even when
PasswordAuthentication is set to no, adding PreferredAuthentications
with the 2 options removed do the trick.
Merge pull request #3895 from mscherer/fix_option_new_ssh

make sure ssh do not ask password