<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Aaron Ji's blog (Posts about issues)</title><link>https://blog.jiya.net/</link><description></description><atom:link href="https://blog.jiya.net/categories/cat_issues.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2023 &lt;a href="mailto:me@jiya.net"&gt;Aaron Ji&lt;/a&gt; </copyright><lastBuildDate>Tue, 08 Aug 2023 15:12:47 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Unset SSH_AUTH_SOCK to workaround ssh agents issues</title><link>https://blog.jiya.net/posts/2022/01/unset-ssh-auth-sock.html</link><dc:creator>Aaron Ji</dc:creator><description>&lt;p&gt;
Today, a issue occured with my MacBook that ssh hanged at &lt;code&gt;rekey after 134217728 blocks&lt;/code&gt;, it seems that something wrong with ssh(ssh agent).
&lt;/p&gt;

&lt;p&gt;
After search on the internet, I noticed that the openssh I use is version 8.8p1, and macports has dropped the support for dropped support for launchd in ssh-agent. Then can unset &lt;code&gt;SSH_AUTH_SOCK&lt;/code&gt; environment variable to workaround with this issue.
&lt;/p&gt;

&lt;p&gt;
Another solution can use gpg-agent work as ssh-agent,see &lt;a href="https://jms1.net/yubikey/make-ssh-use-gpg-agent.md"&gt;Make SSH use gpg-agent&lt;/a&gt;.
&lt;/p&gt;

&lt;ul class="org-ul"&gt;
&lt;li&gt;&lt;a href="https://trac.macports.org/ticket/61888"&gt;openssh-8.4p1 dropped support for launchd in ssh-agent&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://stackoverflow.com/questions/26258157/disable-sshagent-with-command-line-option"&gt;Disable SSHAgent with command line option&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1431370"&gt;Unset SSH_AUTH_SOCK to workaround ssh agents issues&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><category>ssh</category><guid>https://blog.jiya.net/posts/2022/01/unset-ssh-auth-sock.html</guid><pubDate>Sun, 02 Jan 2022 17:03:00 GMT</pubDate></item></channel></rss>