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

重启系统

连接成功

相关推荐
Karoku0661 小时前
【CI/CD】CI/CD环境搭建流程和持续集成环境配置
运维·ci/cd·docker·容器·kubernetes·prometheus
勤奋的凯尔森同学4 小时前
webmin配置终端显示样式,模仿UbuntuDesktop终端
linux·运维·服务器·ubuntu·webmin
月光水岸New5 小时前
Ubuntu 中建的mysql数据库使用Navicat for MySQL连接不上
数据库·mysql·ubuntu
莫忘初心丶5 小时前
在 Ubuntu 22 上使用 Gunicorn 启动 Flask 应用程序
python·ubuntu·flask·gunicorn
技术小齐9 小时前
网络运维学习笔记 016网工初级(HCIA-Datacom与CCNA-EI)PPP点对点协议和PPPoE以太网上的点对点协议(此处只讲华为)
运维·网络·学习
ITPUB-微风9 小时前
Service Mesh在爱奇艺的落地实践:架构、运维与扩展
运维·架构·service_mesh
落幕9 小时前
C语言-进程
linux·运维·服务器
chenbin52010 小时前
Jenkins 自动构建Job
运维·jenkins
java 凯10 小时前
Jenkins插件管理切换国内源地址
运维·jenkins
AI服务老曹10 小时前
运用先进的智能算法和优化模型,进行科学合理调度的智慧园区开源了
运维·人工智能·安全·开源·音视频