Question
Using Ubuntu to connect to Ubuntu Linux Server
I had configured SSH login to my Digital Ocean Ubuntu server using SSH keys.
I am able to login using Git bash but when I use Window’s Ubuntu app, I get an authentication error:
Permission denied (publickey).
Log shows:
debug1: Next authentication method: publickey
debug1: Trying private key: /home/jlee/.ssh/id_rsa
debug3: no such identity: /home/jlee/.ssh/id_rsa: No such file or directory
debug1: Trying private key: /home/jlee/.ssh/id_dsa
debug3: no such identity: /home/jlee/.ssh/id_dsa: No such file or directory
debug1: Trying private key: /home/jlee/.ssh/id_ecdsa
debug3: no such identity: /home/jlee/.ssh/id_ecdsa: No such file or directory
debug1: Trying private key: /home/jlee/.ssh/id_ed25519
debug3: no such identity: /home/jlee/.ssh/id_ed25519: No such file or directory
debug2: we did not send a packet, disable method
debug1: No more authentication methods to try.
.ssh/jlee@165.227.201.83: Permission denied (publickey).
la -ls .ssh
shows:
known_hosts
but not
authorized_key
authorized_keys
In gitbash,
ls -la .ssh
shows both:
authorized_keys
authorized_key
I am able to login using SSH keys through Git bash but not with Window’s Ubuntu app.
Any help?
Thank you.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×