Ubuntu24.04开通SSH远程服务

1.安装SSH
sudo apt-get update
image
sudo apt-get install openssh-server
image

2.查看SSH状态

sudo systemctl status ssh
image

3.启动SSH服务

sudo systemctl start ssh
image

4.启用SSH服务(开机自启)

sudo systemctl enable ssh

SSH连接格式:用户名@IP地址,例如:root@192.168.8.8

posted on 2026-03-06 10:58  阿江0312  阅读(51)  评论(0)    收藏  举报

导航