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
该怎么办?
答案1
答案2
openssh-client
软件包包含sftp
可执行文件。使用以下命令进行安装:
sudo apt-get install openssh-client
来源:https://packages.ubuntu.com/focal/amd64/openssh-client/filelist