Attempt of apt-get install sftp fails with : E: Package 'sftp' has no installation candidate
7,368
I believe the package you want to install is openssh-server.
sudo apt-get install openssh-server
Source: How to setup a restricted SFTP server on Ubuntu?
Related videos on Youtube
Author by
Magnus Teekivi
Updated on September 18, 2022Comments
-
Magnus Teekivi over 1 year
magnus@mt-dell:~$ sudo apt-get install sftp [sudo] password for magnus: Reading package lists... Done Building dependency tree Reading state information... Done Package sftp is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'sftp' has no installation candidate
What to do?
-
steeldriver about 8 yearsAFAIK the default sftp client is provided by the
openssh-client
package
-
-
Magnus Teekivi about 8 yearsThat did the trick. That's what I like about AskUbuntu. Ask a simple question, get a simple answer.