How to disable password authentication for ssh in ubuntu 16.10/16.04 You can disable password authentication for SSH in server and allow key based authentication. Once you allow pub key based authentication, you need t…