On ubuntu I generated SSH key which created ~/.rsa/id_rsa file and that was it (if I remember correctly). After I was able to use any program that uses SSH keys to connect to servers (like git). I thought that keys inside ~/.ssh are automatically used but apparently not.
I get errors like: Unable to negotiate with … port 22: no matching host key type found. Their offer: ssh-rsa / fatal: Could not read from remote repository.
I also tried to use eval $(ssh-agent) and then => ssh-add ~/.ssh/id_rsa but it doesn’t help
I did something wrong or EOS have some other way to make it work ?
The newest most efficient key is ed25519 key.
This probably isn’t the solution to your problem, but I would suggest switching to ed25519 in the near future.
When trying to close git repo from “azure dev ops” using sublime merge I get this:
I double checked that I added the right key to repo
I also tried to create config file inside .ssh with following data:
Host dev.azure.com
HostName dev.azure.com
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa
hm… I installed “ksshaskpass-5.24.3-1-x86_64” and then used command ssh-add and got the response: Identity added: home/uros/.ssh/id_rsa but still I can’t connect anywhere
It finally works … and it was nothing wrong on EOS but azure dev ops had some maintenance goings on and because of that I have problems to connect. On windows worked probably because I tested it before I tried on EOS … damn MS