1.首先查看ubuntu中是否安装了open-server:
使用命令ps -e | grep ssh;
如果安装了,则显示ssh-agent sshd;
2.如果没有安装,首先执行以下步骤:
执行sudo apt-get update;
如果报404,则按照https://blog.youkuaiyun.com/whq19890827/article/details/79101571进行设置;
再执行sudo apt-get install openssh-server;
如果报依赖关系出错即openssh-client版本问题,则执行sudo apt-get install openssh-client=版本号;
再执行sudo apt-get install openssh-server即可完成安装 。
本文介绍如何在Ubuntu系统上检查并安装OpenSSH-server。包括验证是否已安装、更新软件包列表、解决依赖问题及安装过程。
3252

被折叠的 条评论
为什么被折叠?



