sftp config

cd /root/ssh

emacs sshd_config

remove the comments for RSAAuthentication, PubkeyAuthentication

RSAAuthentication yes

PubkeyAuthentication yes

generate rsa key pair by puttygen

edit file authorized_keys add public key which generate by putty.

copy private key to client PC /root/.ssh/id_rsa