ubuntu系统启用shell远程登陆

xiaoxiao2021-02-28  20

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服务器了。

转载请注明原文地址: https://www.6miu.com/read-2596318.html

最新回复(0)