ssh_dispatch_run_fatal git error after updating my macbook to MacOs Mojave









up vote
0
down vote

favorite












I recently updated to MacOs Mojave on my Macbook but there have been some issues using git via Terminal. The first error was fixed by installing xCode which was easy afterwards I was able to do everything except commands that include the server such as git push / pull when I run git pull which has always been working I get an error message like this



ssh_dispatch_run_fatal: Connection to [some ip] port 22: incorrect signature



fatal: Could not read from remote repository.



The same happens when trying to git push.



and I cant seem to fix this error any suggestions on how to fix it??



Kind regards Julian










share|improve this question





















  • Somehow following these steps resolved my issue serverfault.com/questions/44222/how-do-i-fix-ssh-on-a-mac
    – Julian B.
    Nov 10 at 23:29














up vote
0
down vote

favorite












I recently updated to MacOs Mojave on my Macbook but there have been some issues using git via Terminal. The first error was fixed by installing xCode which was easy afterwards I was able to do everything except commands that include the server such as git push / pull when I run git pull which has always been working I get an error message like this



ssh_dispatch_run_fatal: Connection to [some ip] port 22: incorrect signature



fatal: Could not read from remote repository.



The same happens when trying to git push.



and I cant seem to fix this error any suggestions on how to fix it??



Kind regards Julian










share|improve this question





















  • Somehow following these steps resolved my issue serverfault.com/questions/44222/how-do-i-fix-ssh-on-a-mac
    – Julian B.
    Nov 10 at 23:29












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I recently updated to MacOs Mojave on my Macbook but there have been some issues using git via Terminal. The first error was fixed by installing xCode which was easy afterwards I was able to do everything except commands that include the server such as git push / pull when I run git pull which has always been working I get an error message like this



ssh_dispatch_run_fatal: Connection to [some ip] port 22: incorrect signature



fatal: Could not read from remote repository.



The same happens when trying to git push.



and I cant seem to fix this error any suggestions on how to fix it??



Kind regards Julian










share|improve this question













I recently updated to MacOs Mojave on my Macbook but there have been some issues using git via Terminal. The first error was fixed by installing xCode which was easy afterwards I was able to do everything except commands that include the server such as git push / pull when I run git pull which has always been working I get an error message like this



ssh_dispatch_run_fatal: Connection to [some ip] port 22: incorrect signature



fatal: Could not read from remote repository.



The same happens when trying to git push.



and I cant seem to fix this error any suggestions on how to fix it??



Kind regards Julian







git ssh terminal






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 10 at 12:37









Julian B.

214




214











  • Somehow following these steps resolved my issue serverfault.com/questions/44222/how-do-i-fix-ssh-on-a-mac
    – Julian B.
    Nov 10 at 23:29
















  • Somehow following these steps resolved my issue serverfault.com/questions/44222/how-do-i-fix-ssh-on-a-mac
    – Julian B.
    Nov 10 at 23:29















Somehow following these steps resolved my issue serverfault.com/questions/44222/how-do-i-fix-ssh-on-a-mac
– Julian B.
Nov 10 at 23:29




Somehow following these steps resolved my issue serverfault.com/questions/44222/how-do-i-fix-ssh-on-a-mac
– Julian B.
Nov 10 at 23:29












1 Answer
1






active

oldest

votes

















up vote
0
down vote













Usually, this message means that the remote server is misconfigured or out of date. Some versions of Gerrit before 2.16 (and possibly other applications using the Apache Mina SSH server) make incorrect signatures when using Ed25519 keys. (It's also possible, but unlikely, that you have a broken network card or proxy in place.)



The best way to fix this is to update the remote server such that it uses a fixed version of the appropriate SSH code. For Gerrit, this means upgrading to 2.15 or newer. Anyone else using an up-to-date OpenSSH will also have this problem and will be unable to access the server.



The alternative is to configure your system not to use Ed25519 for SSH to that system. If the remote system has the hostname example.com, you can add something like the following to your ~/.ssh/config file:



Host example.com
HostKeyAlgorithms ecdsa-sha2-nistp521,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp384,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa





share|improve this answer




















  • Since I am not working on a Windows PC I don't really know what you are reffering to or what to do
    – Julian B.
    Nov 10 at 18:12










  • It means that the server you're trying to push your code to has a bug with how it handles the SSH protocol, which is used for pushing and pulling. You should update it, or modify the configuration file I mentioned, or switch to using HTTPS.
    – brian m. carlson
    Nov 12 at 13:15










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53239028%2fssh-dispatch-run-fatal-git-error-after-updating-my-macbook-to-macos-mojave%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













Usually, this message means that the remote server is misconfigured or out of date. Some versions of Gerrit before 2.16 (and possibly other applications using the Apache Mina SSH server) make incorrect signatures when using Ed25519 keys. (It's also possible, but unlikely, that you have a broken network card or proxy in place.)



The best way to fix this is to update the remote server such that it uses a fixed version of the appropriate SSH code. For Gerrit, this means upgrading to 2.15 or newer. Anyone else using an up-to-date OpenSSH will also have this problem and will be unable to access the server.



The alternative is to configure your system not to use Ed25519 for SSH to that system. If the remote system has the hostname example.com, you can add something like the following to your ~/.ssh/config file:



Host example.com
HostKeyAlgorithms ecdsa-sha2-nistp521,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp384,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa





share|improve this answer




















  • Since I am not working on a Windows PC I don't really know what you are reffering to or what to do
    – Julian B.
    Nov 10 at 18:12










  • It means that the server you're trying to push your code to has a bug with how it handles the SSH protocol, which is used for pushing and pulling. You should update it, or modify the configuration file I mentioned, or switch to using HTTPS.
    – brian m. carlson
    Nov 12 at 13:15














up vote
0
down vote













Usually, this message means that the remote server is misconfigured or out of date. Some versions of Gerrit before 2.16 (and possibly other applications using the Apache Mina SSH server) make incorrect signatures when using Ed25519 keys. (It's also possible, but unlikely, that you have a broken network card or proxy in place.)



The best way to fix this is to update the remote server such that it uses a fixed version of the appropriate SSH code. For Gerrit, this means upgrading to 2.15 or newer. Anyone else using an up-to-date OpenSSH will also have this problem and will be unable to access the server.



The alternative is to configure your system not to use Ed25519 for SSH to that system. If the remote system has the hostname example.com, you can add something like the following to your ~/.ssh/config file:



Host example.com
HostKeyAlgorithms ecdsa-sha2-nistp521,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp384,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa





share|improve this answer




















  • Since I am not working on a Windows PC I don't really know what you are reffering to or what to do
    – Julian B.
    Nov 10 at 18:12










  • It means that the server you're trying to push your code to has a bug with how it handles the SSH protocol, which is used for pushing and pulling. You should update it, or modify the configuration file I mentioned, or switch to using HTTPS.
    – brian m. carlson
    Nov 12 at 13:15












up vote
0
down vote










up vote
0
down vote









Usually, this message means that the remote server is misconfigured or out of date. Some versions of Gerrit before 2.16 (and possibly other applications using the Apache Mina SSH server) make incorrect signatures when using Ed25519 keys. (It's also possible, but unlikely, that you have a broken network card or proxy in place.)



The best way to fix this is to update the remote server such that it uses a fixed version of the appropriate SSH code. For Gerrit, this means upgrading to 2.15 or newer. Anyone else using an up-to-date OpenSSH will also have this problem and will be unable to access the server.



The alternative is to configure your system not to use Ed25519 for SSH to that system. If the remote system has the hostname example.com, you can add something like the following to your ~/.ssh/config file:



Host example.com
HostKeyAlgorithms ecdsa-sha2-nistp521,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp384,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa





share|improve this answer












Usually, this message means that the remote server is misconfigured or out of date. Some versions of Gerrit before 2.16 (and possibly other applications using the Apache Mina SSH server) make incorrect signatures when using Ed25519 keys. (It's also possible, but unlikely, that you have a broken network card or proxy in place.)



The best way to fix this is to update the remote server such that it uses a fixed version of the appropriate SSH code. For Gerrit, this means upgrading to 2.15 or newer. Anyone else using an up-to-date OpenSSH will also have this problem and will be unable to access the server.



The alternative is to configure your system not to use Ed25519 for SSH to that system. If the remote system has the hostname example.com, you can add something like the following to your ~/.ssh/config file:



Host example.com
HostKeyAlgorithms ecdsa-sha2-nistp521,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp384,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa






share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 10 at 17:49









brian m. carlson

55118




55118











  • Since I am not working on a Windows PC I don't really know what you are reffering to or what to do
    – Julian B.
    Nov 10 at 18:12










  • It means that the server you're trying to push your code to has a bug with how it handles the SSH protocol, which is used for pushing and pulling. You should update it, or modify the configuration file I mentioned, or switch to using HTTPS.
    – brian m. carlson
    Nov 12 at 13:15
















  • Since I am not working on a Windows PC I don't really know what you are reffering to or what to do
    – Julian B.
    Nov 10 at 18:12










  • It means that the server you're trying to push your code to has a bug with how it handles the SSH protocol, which is used for pushing and pulling. You should update it, or modify the configuration file I mentioned, or switch to using HTTPS.
    – brian m. carlson
    Nov 12 at 13:15















Since I am not working on a Windows PC I don't really know what you are reffering to or what to do
– Julian B.
Nov 10 at 18:12




Since I am not working on a Windows PC I don't really know what you are reffering to or what to do
– Julian B.
Nov 10 at 18:12












It means that the server you're trying to push your code to has a bug with how it handles the SSH protocol, which is used for pushing and pulling. You should update it, or modify the configuration file I mentioned, or switch to using HTTPS.
– brian m. carlson
Nov 12 at 13:15




It means that the server you're trying to push your code to has a bug with how it handles the SSH protocol, which is used for pushing and pulling. You should update it, or modify the configuration file I mentioned, or switch to using HTTPS.
– brian m. carlson
Nov 12 at 13:15

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53239028%2fssh-dispatch-run-fatal-git-error-after-updating-my-macbook-to-macos-mojave%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Top Tejano songwriter Luis Silva dead of heart attack at 64

ReactJS Fetched API data displays live - need Data displayed static

Evgeni Malkin