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.
To install OpenSSH on your Mac, follow these steps:
- First, check the version of SFTP you are using by entering the following command in the terminal:
which sftp
The output will look something like this:
/usr/bin/sftp
- Install OpenSSH using Homebrew:
brew install openssh
- After the installation, verify if SFTP is installed correctly by entering:
brew list openssh
After doing this, you can enjoy faster development and server access.
Top comments (0)