Skip to content

Instantly share code, notes, and snippets.

@ErykDarnowski
Created May 1, 2023 13:59
Show Gist options
  • Save ErykDarnowski/3618db525b13138960349586292f9436 to your computer and use it in GitHub Desktop.
Save ErykDarnowski/3618db525b13138960349586292f9436 to your computer and use it in GitHub Desktop.
How to install `sftp` on Linux

How to install sftp on Linux

The package is simply automatically installed with openssh, so it can't be installed alone! 😅

apt (Ubuntu / Debian / Mint)
sudo apt update -y
sudo apt upgrade -y

sudo apt install openssh-client -y
dnf (Fedora / CentOS / Red Hat Enterprise Linux)
sudo dnf check-update
sudo dnf upgrade -y

sudo dnf install openssh-clients -y
pacman (Arch)
yes | sudo pacman -Syu openssh

*You may have to restart your terminal window after install to make the commands accessible!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment