The pre-installed sftp binary on macOS sucks. When I use my ubuntu machine, sftp has glorious things like a history and tab completion. I've looked around, and cannot tell a clear cut path to upgrading the binary. Has anyone done this? How?


Install homebrew a macOS package manager. https://brew.sh/

HomeBrew is most often mentioned these days. sftp appears to be one of the programs you can download.

other package managers are: MacPort -- BSD licenses Fink -- GNU General Public License

I'd figure out what sftp client Ubuntu uses and look around for the macOS version.

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

  • Can you specify the exact name of the formula for installing sftp using Homebrew? – Nimesh Neema May 13 at 3:54
  • Agreed with Nimesh. I don't see it on homebrew, I checked before asking the question. – justin May 13 at 12:11
  • Try brew install openssh and edit your $PATH as necessary. – da4 May 13 at 13:01
  • @justin openssh.com --> man.openbsd.org/sftp.1 Thanks for the assist da4 – historystamp May 13 at 18:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .