Permission denied (publickey,password). windows code example
Example 1: ssh error permission denied (publickey)
sudo service ssh restart
Example 2: permission denied (publickey password)
cat ~/.ssh/id_rsa.pub | ssh @ 'cat >> .ssh/authorized_keys && echo "Key copied"'