Deploying to Digital Ocean with a linux (ubuntu 16.04) client

Did anyone have issues connecting to Digital Ocean using ssh key ? I created the key on my linux laptop (elementaryos) and added it to DO ssh key list. I tried to deploy but the problem I found is that ssh connection doesn’t work - Permission denied (publickey).

I’m thinking it might be a problem copying ssh key (https://www.digitalocean.com/community/questions/error-permission-denied-publickey-when-i-try-to-ssh)

Anyone with the same issue?

Digital Ocean didn’t add the ssh key to .~/.ssh/authorized_keys
Adding manually using admin console works.