If you want to connect from Windows, first you need to generate rsa key files:
- open ZOC Tools/SSH Public/Private Key generator (you can use puttygen too)
- crate public/private keyfiles (id_rsa.pub, id_rsa)
- add content of generated “id_rsa.pub” file to: Debian server ~/.ssh/authorized_keys file
- edit and uncomment “PasswordAuthentication no” line in “etc/ssh/sshd_config” file
- now you can connect only with your generated “id_rsa” file