Linux基本操作指令6(SSH)

1、安装 SSH 服务
sudo apt update && sudo apt install openssh-server

2、查看 SSH 服务状态

sudo systemctl status ssh

3、启动 SSH 服务:

sudo systemctl start ssh
sudo systemctl enable ssh  # 设置开机自启

你可能感兴趣的:(Linux学习专栏,linux,服务器,运维)