You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

WSL2下Ubuntu 24.04系统中rcp命令找不到的问题求助

WSL2下Ubuntu 24.04系统中rcp命令找不到的问题求助

各位好,我最近遇到了个小困扰想请教大家:我在WSL2上运行的Ubuntu 24.04系统里,尝试用rcp命令和其他机器互传文件,但系统一直提示找不到这个命令。不过scp命令是能正常使用的。

我已经试过更新软件源,还重新尝试安装openssh-client,但系统显示这个包已经是最新状态了。以下是我操作的终端输出:

ubuntu@DESKTOP-D6TR:~$ sudo apt update
Hit:1 http://mirrors.aliyun.com/ubuntu noble InRelease
Hit:2 http://mirrors.aliyun.com/ubuntu noble-updates InRelease
Hit:3 http://mirrors.aliyun.com/ubuntu noble-security InRelease
Hit:4 http://mirrors.aliyun.com/ubuntu noble-backports InRelease
Hit:5 http://mirrors.aliyun.com/ubuntu noble-proposed InRelease
Hit:6 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:7 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:8 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
ubuntu@DESKTOP-D6TR:~$ sudo apt install openssh-client
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
openssh-client is already the latest version (1:9.6p1-3ubuntu13).

想问问大家,这种情况该怎么解决rcp命令找不到的问题?是不是Ubuntu 24.04已经不再默认包含rcp,需要安装额外的软件包呢?

备注:内容来源于stack exchange,提问作者user1521062

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.16 12:23:19