<?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: Hamza Afridi</title>
    <description>The latest articles on DEV Community by Hamza Afridi (@hamzaafridi).</description>
    <link>https://dev.to/hamzaafridi</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%2F1718463%2F83a1de3e-1138-40e3-94ff-92c773e64571.jpg</url>
      <title>DEV Community: Hamza Afridi</title>
      <link>https://dev.to/hamzaafridi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hamzaafridi"/>
    <language>en</language>
    <item>
      <title>Setting up sftp on iterm and terminal on mac</title>
      <dc:creator>Hamza Afridi</dc:creator>
      <pubDate>Tue, 09 Jul 2024 10:05:12 +0000</pubDate>
      <link>https://dev.to/hamzaafridi/setting-up-sftp-on-iterm-and-terminal-on-mac-9p1</link>
      <guid>https://dev.to/hamzaafridi/setting-up-sftp-on-iterm-and-terminal-on-mac-9p1</guid>
      <description>&lt;p&gt;When I switched to MacOS as my main development machine, I quickly noticed that the standard terminal or iTerm2 wouldn't autocomplete SFTP commands when using the TAB key. Additionally, the arrow up and down keys didn't work either. This issue arises because MacOS doesn't come with OpenSSH built-in.&lt;/p&gt;

&lt;p&gt;To install OpenSSH on your Mac, follow these steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;First, check the version of SFTP you are using by entering the following command in the terminal:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;which sftp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The output will look something like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;/usr/bin/sftp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Install OpenSSH using Homebrew:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;brew &lt;span class="nb"&gt;install &lt;/span&gt;openssh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;After the installation, verify if SFTP is installed correctly by entering:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;brew list openssh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After doing this, you can enjoy faster development and server access.&lt;/p&gt;

</description>
      <category>macos</category>
      <category>terminal</category>
      <category>openssh</category>
      <category>sftp</category>
    </item>
  </channel>
</rss>
