I'm still required to enter a passphrase even after setting ssh key
Daisho Komiyama edited this page Oct 31, 2021
·
1 revision
I added a ssh key to my droplet with Digitalocean.
Now I don't need to enter password to login to my server anymore, but this time I'm required to enter passphrase!
It doesn't bother me much as it is a lot shorted compare to a password, but still annoying.
And I also noticed that I need to enter passphrase for pushing change to Github as well.
The solution was to add ssh agent. https://unix.stackexchange.com/questions/12195/how-to-avoid-being-asked-passphrase-each-time-i-push-to-bitbucket
I ran ssh-add
on my macbook then I entered a passphrase.
Problem solved. I'm not required to enter a passphrase anymore with Digitalocean server login.