If you want to connect from Windows, first you need to generate rsa key files:

  1. open ZOC Tools/SSH Public/Private Key generator (you can use puttygen too)
  2. crate public/private keyfiles (id_rsa.pub, id_rsa)
  3. add content of generated “id_rsa.pub” file to: Debian server ~/.ssh/authorized_keys file
  4. edit and uncomment “PasswordAuthentication no” line in “etc/ssh/sshd_config” file
  5. now you can connect only with your generated “id_rsa” file