Ubuntu desktop系统安装后,想使用shell远程登陆,会提示
Connecting to 192.168.220.133:22...
Could not connect to '192.168.220.133' (port 22): Connection failed.
Type `help' to learn how to use Xshell prompt.
是因为未安装SSH服务
1.查看系统中是否安装ssh-server服务,默认只安装ssh-client服务:
sudo ps -e | grep ssh

2.安装SSH服务:
sudo apt-get install openssh-server
最终安装完成且已启动

接下来即可使用shell来远程登陆Ubuntu服务器了。

本文介绍如何解决Ubuntu桌面系统在安装后无法通过shell远程登录的问题。主要步骤包括检查ssh-server服务是否安装,若未安装则通过sudo apt-get install openssh-server进行安装。完成安装后,即可实现Ubuntu服务器的远程shell登录。
805

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



