You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hi Everyone. I am having an issue adding a git remote to push to my production server that is hosted with GoDaddy.
For example I use to be able to add it like this at it worked fine:
git add remote beta ssh://firstname.lastname@example.org/~/gitrepos/myrepo.git
When trying to push the beta I now get this error:
Unable to negotiate with "ip of server" port 22: no matching host key type found. Their offer: ssh-rsa,email@example.com,ssh-dss
fatal: Could not read from remote repository.
I then thought it was the ssh key so I created a new one. Imported the public key to GoDaddy and tested a connection in the terminal:
And got the same error as above "Unable to negotiate..."
I then found out I had to use the following ssh flag "-oHostKeyAlgorithms=+ssh-dss" in order to connect successfully:
ssh -oHostKeyAlgorithms=+ssh-dss firstname.lastname@example.org
So my question is... How do I add this new ssh flag "-oHostKeyAlgorithms=+ssh-dss" to the git remote?