title: VSCode SSH to remote - node: not found
body: <p>SSH from VSCode (Mac) to a remote host (Raspberry Pi) stopped working a while ago.
  I have searched the web for solutions, but whatever I did - I was unable to solve the issue.</p>
  <p>I tried <code>rm -rf ~/.vscode-server</code> and then connect again - It did not work.
  Also, I tried setting <code>&quot;remote.SSH.useLocalServer&quot;: false</code> which also did not help.
  Another thing I've tried is to install an older version of the SSH extension in VSCode - it did not help.</p>
  <p>Not sure if related, but I have Fig (<a href="https://fig.io/" rel="nofollow noreferrer">https://fig.io/</a>) installed on my Mac.</p>
  <p>Here's the log from VSCode:</p>
  <pre><code> &gt; Server did not start successfully. Full server log at /home/pi/.vscode-server/.8dfae7a5cd50421d10cd99cb873990460525a898.log &gt;&gt;&gt;
  &gt; /home/pi/.vscode-server/bin/8dfae7a5cd50421d10cd99cb873990460525a898/bin/code-server: 12: /home/pi/.vscode-server/bin/8dfae7a5cd50421d10cd99cb873990460525a898/bin/code-server: /home/pi/.vscode-server/bin/8dfae7a5cd50421d10cd99cb873990460525a898/node: not found
  &gt; &lt;&lt;&lt; End of server log
  &gt; 911ac96db1fc: start
  &gt; exitCode==32==
  &gt; listeningOn====
  &gt; osReleaseId==raspbian==
  &gt; arch==aarch64==
  &gt; tmpDir==/run/user/1000==
  &gt; platform==linux==
  &gt; unpackResult==success==
  &gt; didLocalDownload==0==
  &gt; downloadTime==5371==
  &gt; installTime==3172==
  &gt; extInstallTime====
  &gt; serverStartTime==7728==
  &gt; 911ac96db1fc: end
  [09:55:56.941] Received install output: 
  exitCode==32==
  listeningOn====
  osReleaseId==raspbian==
  arch==aarch64==
  tmpDir==/run/user/1000==
  platform==linux==
  unpackResult==success==
  didLocalDownload==0==
  downloadTime==5371==
  installTime==3172==
  extInstallTime====
  serverStartTime==7728==
  </code></pre>
  <p>Checking the log I see &quot;node: not found&quot;, so I checked the directory and confirmed that indeed the file exists there.</p>
  <p>Can someone please assist with troubleshooting steps for this?
  Thanks ahead.</p>
  <p>EDIT: I was able to solve that following <a href="https://github.com/microsoft/vscode-remote-release/issues/6388#issuecomment-1050923254" rel="nofollow noreferrer">https://github.com/microsoft/vscode-remote-release/issues/6388#issuecomment-1050923254</a> which mentioned to change the <code>arm_64bit</code> to 0.
  Hope that helps whoever might encounter this.</p>