win11 ssh连接ubuntu 出现 command not found: cvs

sudo apt-get install openssh-client

sudo apt-get install openssh-server

ps -e | grep ssh

sudo /etc/init.d/ssh start

仍然报错; command not found: cvs

解决办法为:修改/etc/ssh/sshd_config 文件

修改:

58 PasswordAuthentication yes

59 PermitEmptyPasswords yes

注释:

123 # ForceCommand cvs server

重启系统

连接成功

相关推荐
weixin_399380691 小时前
k8s一键部署tongweb企业版7049m6(by why+lqw)
java·linux·运维·服务器·云原生·容器·kubernetes
阿巴~阿巴~1 小时前
Linux基本命令篇 —— uname命令
linux·运维·服务器
IT成长日记2 小时前
【Docker基础】Docker数据卷管理:docker volume ls及其参数详解
运维·docker·容器·volume ls
zkmall3 小时前
企业电商解决方案哪家好?ZKmall模块商城全渠道支持 + 定制化服务更省心
大数据·运维·重构·架构·开源
绝不偷吃5 小时前
ELK日志分析系统
运维·elk·jenkins
朱包林6 小时前
day45-nginx复杂跳转与https
linux·运维·服务器·网络·云计算
孙克旭_6 小时前
day045-nginx跳转功能补充与https
linux·运维·nginx·https
Hacker_Oldv8 小时前
软件测试(功能、工具、接口、性能、自动化、测开)详解
运维·自动化
Java樱木8 小时前
使用字节Trae + MCP,UI 到网页自动化。
运维·自动化
无敌暴龙兽z11 小时前
离线环境安装elk及设置密码认证
运维·elk