<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ERROR: Failed to authenticate with the remote repository when cloning git repo in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/ERROR-Failed-to-authenticate-with-the-remote-repository-when/m-p/802623#M10398</link>
    <description>&lt;P&gt;I figured it out.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had to regenerate the SSH keys using with the following command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;# ssh-keygen -t rsa -m PEM -b 4096 -C "email"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apparently the SSH library in use seems to have issues with some SSH keygen algorithms.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything worked fine with the new key.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Mar 2022 12:51:16 GMT</pubDate>
    <dc:creator>alisio_meneses</dc:creator>
    <dc:date>2022-03-17T12:51:16Z</dc:date>
    <item>
      <title>ERROR: Failed to authenticate with the remote repository when cloning git repo</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ERROR-Failed-to-authenticate-with-the-remote-repository-when/m-p/802245#M10396</link>
      <description>&lt;P&gt;Hi there.&lt;/P&gt;&lt;P&gt;I am trying to clone a repository (repo) from an internal gitlab server (git.corp) using SAS StudioV 5.2 in a SAS Viya 3.5 install.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The clone operation works fine when cloning with git client from my workstation using the same keys, but when in SAS Studio the operation fails and I can see the following log line:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;ERROR: Failed to authenticate with the remote repository when cloning git repo&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Here's the code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;data _null_;
    rc = gitfn_clone(
     "git@git.corp:user/repo.git",
     "/home/user/git/repo", 
     "git",
     "",
     "/home/user/keys/mysshkey.pub",
     "/home/user/keys/mysshkey");
    put rc=;
run;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there something I am missing? Are there configuration options to set on my environment?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 10:38:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ERROR-Failed-to-authenticate-with-the-remote-repository-when/m-p/802245#M10396</guid>
      <dc:creator>alisio_meneses</dc:creator>
      <dc:date>2022-03-16T10:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Failed to authenticate with the remote repository when cloning git repo</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ERROR-Failed-to-authenticate-with-the-remote-repository-when/m-p/802623#M10398</link>
      <description>&lt;P&gt;I figured it out.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had to regenerate the SSH keys using with the following command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;# ssh-keygen -t rsa -m PEM -b 4096 -C "email"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apparently the SSH library in use seems to have issues with some SSH keygen algorithms.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything worked fine with the new key.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 12:51:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ERROR-Failed-to-authenticate-with-the-remote-repository-when/m-p/802623#M10398</guid>
      <dc:creator>alisio_meneses</dc:creator>
      <dc:date>2022-03-17T12:51:16Z</dc:date>
    </item>
  </channel>
</rss>

