<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: rawatsaurabh</title>
    <description>The latest articles on DEV Community by rawatsaurabh (@rawatsaurabh).</description>
    <link>https://dev.to/rawatsaurabh</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F802896%2F90f099e2-2910-4a38-899c-b6e751358714.jpeg</url>
      <title>DEV Community: rawatsaurabh</title>
      <link>https://dev.to/rawatsaurabh</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rawatsaurabh"/>
    <language>en</language>
    <item>
      <title>git bash throwing error related to ssh-rsa </title>
      <dc:creator>rawatsaurabh</dc:creator>
      <pubDate>Tue, 25 Jan 2022 05:11:21 +0000</pubDate>
      <link>https://dev.to/rawatsaurabh/git-bash-throwing-error-related-to-ssh-rsa-a</link>
      <guid>https://dev.to/rawatsaurabh/git-bash-throwing-error-related-to-ssh-rsa-a</guid>
      <description>&lt;p&gt;hello , &lt;br&gt;
I am behind the proxy and accessing my corporate server for development.&lt;br&gt;
my git bash version is : &lt;br&gt;
mintty 3.5.1&lt;br&gt;
my git version is git version 2.34.0.windows.1&lt;/p&gt;

&lt;p&gt;Whenever I am trying to do repo sync i am getting below error : &lt;/p&gt;

&lt;p&gt;Unable to negotiate with  port 29418: no matching host key type found. &lt;strong&gt;Their offer: ssh-rsa&lt;/strong&gt;&lt;br&gt;
fatal: Could not read from remote repository.&lt;/p&gt;

&lt;p&gt;Please make sure you have the correct access rights&lt;/p&gt;

&lt;p&gt;I have read gone through google many articles on this but could find a solution. In crux git has deprecated the use of ssh-rsa from 2.34 onwards though the previous versions may work fine...&lt;/p&gt;

&lt;p&gt;Please let me know how to fix this , &lt;/p&gt;

&lt;p&gt;I even tried adding below lines inside the config file in .ssh folder&lt;/p&gt;

&lt;p&gt;Host &lt;br&gt;
    User git&lt;br&gt;
    PubkeyAcceptedAlgorithms +ssh-rsa&lt;br&gt;
    HostkeyAlgorithms +ssh-rsa&lt;/p&gt;

&lt;p&gt;This is a workaround but still not working.&lt;/p&gt;

</description>
      <category>sshrsa</category>
      <category>gitbash</category>
      <category>git</category>
      <category>openssh</category>
    </item>
  </channel>
</rss>
